0

I have three function blocks in my simulink model; A, B, C. I am feeding block A with data 'waypoints', which is an 11x2 array. I want block A to create a 'passthrough' for 'waypoints', such that waypoints_in = waypoints_out. No changes made.

When I connect the output from block A to block B and run the simulation, this produces the error: "Block C does not fully set the dimensions of output V".

I find this odd, because block B features a passthrough for array 'waypoints' with code: wpts_in = wpts_out.

When I connect the 'waypoints' input directly to Block B, the passthrough functions as expected. it is only when I try to pass 'waypoints' through Block A to Block B, does this error in Block C occur.

The screenshots attached show what happens when I change the routing only. The extra u=y function blocks are there to check my sanity that it's not something odd with functions. waypoints routed directly to B, waypoints routed through A to B.

I have checked the block properties of each, and all the inputs/outputs are set to defaults / inherit.

1
  • 2
    Can you edit the question to include the contents of the function block you're describing as "A"? Commented Sep 2 at 7:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.