How to convert a scalar to a vector in Simulink?
9 ビュー (過去 30 日間)
古いコメントを表示
I want to convert a scalar, for example 3, to a vector with dimension 3: [0 0 0]
Is posible this?
4 件のコメント
Ryan G
2013 年 3 月 21 日
This wouldn't really work with a complicated system for a number of reasons, but if your model is simple you can use a series of enabled subsystems that can be enabled when the proper constant is selected.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!