It is possible to change the values of the simulink frpm the Gui?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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 Comments
Kaustubha Govind
on 6 May 2013
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
on 7 May 2013
sia
on 7 May 2013
Answers (1)
Arunkumar Muthukumaran
on 19 Dec 2015
0 votes
Use set_param() to access and update the value of constant blocks. This command will dynamically update the values during simulation.
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!