It is possible to change the values of the simulink frpm the Gui?
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
hi, i wanna buid a gui, where i can write values and after pressing the button "start" the simulink should take these values.
It is possible???
THX
3 件のコメント
Kaustubha Govind
2013 年 5 月 6 日
Will the GUI provide a single value for each input that needs to be used as a Constant input for the entire simulation, will it provide a set of values to use from StartTime to StopTime, or does the model need to read from the GUI at each time-step to get the value?
sia
2013 年 5 月 7 日
sia
2013 年 5 月 7 日
回答 (1 件)
Arunkumar Muthukumaran
2015 年 12 月 19 日
0 投票
Use set_param() to access and update the value of constant blocks. This command will dynamically update the values during simulation.
0 件のコメント
この質問は閉じられています。
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!