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 comentarios

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?
the first one! I edit a value and the simulation takes this value for their input.
i would like to show you a picture bit i dont know ow i can upload it :(

Respuestas (1)

Use set_param() to access and update the value of constant blocks. This command will dynamically update the values during simulation.

La pregunta está cerrada.

Productos

Etiquetas

Preguntada:

sia
el 6 de Mayo de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by