필터 지우기
필터 지우기

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 (최근 30일)
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?

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2013년 12월 30일
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
Walter Roberson
Walter Roberson 2017년 11월 12일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by