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.