×
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!

*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

Signal Generator Work Around

Signal Generator Work Around

Signal Generator Work Around

(OP)
Hi,

I am trying to use simulink to test multiple actuators depending on the type of control, longitudinal, collective, lateral etc.. I have my simulink model set up where I can make the actuator type selection via GUI to feed my simulink model the parameters for a longitudinal, collective, lateral control etc.

I am at the point where I want to use the signal generator to test various performance requirements specific to each actuator. Is there a way I can select which index signal I want run without simulink generating all the signals in the signal generator? I have tried doing this manually using a multichannel switch, but the run time is slow because simulink calculates the signals even if they are unused.. So what I am looking for is the most efficient way that can be interfaced with GUI.

RE: Signal Generator Work Around

(OP)
It doesnt seem like there is an enabler. Thats why I had to use a multiswitch along with all of the output ports from my signal generator to select which signal I wanted to pass forward.

Generating my signal would be possible, however It wouldnt be practical if I needed to modify any of the signals quickly.

RE: Signal Generator Work Around

(OP)
How do you do that?

RE: Signal Generator Work Around

(OP)
Solution found. You can change groups from the command window.

e.g. if I have a .mdl named mike, and lets say my signal builder is in a subsystem called hello this would be how to access it.
You can also double click on signal builder block and get the 'mike/hello' reference from the bar at the top of the signal builder GUI.

signalbuilder('mike/hello','activegroup',(enter group index #))

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! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close