- Using If subsystem, If action subsystem & merge block.
- Using Switch block
- Using Enabled subsystems
Need a help on simulink block
1 回表示 (過去 30 日間)
古いコメントを表示
hello, i want to create a code structure like below :
if(x == 1)
x=y;
z = a;
........
else
x = z;
y=a;
..........
which block i can use to generate such kind of code?
0 件のコメント
採用された回答
TAB
2012 年 6 月 18 日
You can implement in many ways...
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Create Large-Scale Model Components についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!