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 ?

3 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Kaustubha Govind
Kaustubha Govind il 30 Dic 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 Commenti
Walter Roberson
Walter Roberson il 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.

Accedi per commentare.

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by