×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Body Actuator sim mechanics

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
 

RE: Body Actuator sim mechanics

Are we supposed to guess what your code looks like?  

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources