Filter löschen
Filter löschen

how to link simulink with GUI so that the simulink model take the paramaeter set from the gui and and also gui get the data from the simulink model ?

1 Ansicht (letzte 30 Tage)
link simulink with GUI so that the simulink model take the paramaeter set from the gui and and also gui get the data from the simulink model here i am try to make make gui for the three tank color mixing process so that the input from the simulink model to gui and also set point parameters value are taken from GUI to simulink how can i do that?

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 30 Dez. 2013
See How can I update a GUI with values from my Simulink model as it is running? to see how your GUI can get data from the model.
To answer your question about how the model can take a parameter from the GUI - please explain how exactly you need this to work. Is there a button on your GUI at which time you want the model to start running with parameter values from the GUI? In that case, you can use the set_param command to set the desired values on the GUI from the button callback. Then use the sim command to run the simulation.
  4 Kommentare
Walter Roberson
Walter Roberson am 12 Nov. 2017
Someone flagged the above comment because it is not written in English.
There is no requirement that Questions or Answers or Comments be written in English. However, as English is the language that most people have in common here, there will typically be less response to content that is not in English.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by