Simulink "variable block"
100 ビュー (過去 30 日間)
古いコメントを表示
Where is the "variable block" located in the libraries please?
0 件のコメント
回答 (1 件)
FraFal
2019 年 11 月 16 日
Hi,
if you want to use variables as input/parameters not constants, you can define the parameter in MATLAB workspace and use that variable instead of the constant values as parameter.
The steps are:
-Define the variable for parameter in MATLAB workspace
-Define a constant block and double clicking the block to open parameter dialogue box
- Use the variable name defined in the MATLAB workspace
-Make sure to inizialize or assig this variable before it's been used
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!