Body Actuator sim mechanics
Body Actuator sim mechanics
(OP)
Hi
I am having trouble inputting an aeroforce constant via a body actuator to a spoiler i have built in sim mechanics.
When i run the program i get the same messages
Error in port widths or dimensions. Output port 1 of 'spoiler_kinematics_new/Aeroforce' is a [1x1] matrix.
Error in port widths or dimensions. Input port 1 of 'spoiler_kinematics_new/Body Actuator' is a one dimensional vector with 3 elements
BAsically i think that it was me to put the constant into 3d form as it is only in 1d form
Can you help
Thanks
I am having trouble inputting an aeroforce constant via a body actuator to a spoiler i have built in sim mechanics.
When i run the program i get the same messages
Error in port widths or dimensions. Output port 1 of 'spoiler_kinematics_new/Aeroforce' is a [1x1] matrix.
Error in port widths or dimensions. Input port 1 of 'spoiler_kinematics_new/Body Actuator' is a one dimensional vector with 3 elements
BAsically i think that it was me to put the constant into 3d form as it is only in 1d form
Can you help
Thanks





RE: Body Actuator sim mechanics
The error message is simply telling you that you're trying to put a 1-element array output into a 3-element input. So clearly, you need to review your code.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies