Dealing with multiple signal selection
3 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (4 件)
Ryan G
2012 年 9 月 25 日
See the first example in the this blog post. Wrap the generators in enabled subsystems and they will only be run when they are enabled.
0 件のコメント
Azzi Abdelmalek
2012 年 9 月 25 日
編集済み: Azzi Abdelmalek
2012 年 9 月 26 日
try switch case action subsystem block or if action subsystem block
0 件のコメント
Michael
2012 年 9 月 25 日
1 件のコメント
Azzi Abdelmalek
2012 年 9 月 26 日
look at the above figure, place in each if action subsystem your generator
Michael
2012 年 9 月 26 日
1 件のコメント
Azzi Abdelmalek
2012 年 9 月 26 日
Michael, don't reply to a comment with an answer, just click on comment this answer.
I want to know, how many differents signals are you using? what kind of signals? Is a signal builder necessery?
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!