developing GUI using guide to interact with simulink model

조회 수: 1 (최근 30일)
sai vasavi
sai vasavi 2012년 8월 7일
Hi, I developed one model in simulink.Now i want to display those output values and also some intermediate values in gui while the model is simulating.And also I have to acknowledge the user if some functions are executing in simulink model like "so and so function is called and it is executing". Please can anyone help in doing the same.Please let me know if the question is not clear. Thanks in advance

채택된 답변

Kaustubha Govind
Kaustubha Govind 2012년 8월 8일
You may want to follow the documentation for Accessing Block Data During Simulation for information on accessing block outputs during simulation.
  댓글 수: 4
Craig
Craig 2012년 9월 24일
my understanding is unless you use s functions you'll be restricted to viewing signals about standard Simulink blocks.
Kaustubha Govind
Kaustubha Govind 2012년 9월 24일
Craig: Not sure what you mean by "you'll be restricted to viewing signals about standard Simulink blocks" - what exactly are you attempting to view then?

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

추가 답변 (1개)

Babak
Babak 2012년 8월 7일
You can trigger the GUI with its name (whatever name you saved it with) as long as the GUI's m-file and figure are in MATLAB path.
So
First, add the path of the m-file and figure fo the GUI to MATLAB's path if the GUI is not in your "current folder"
Second: to trigger the GUI, you can add a MATLAB Fcn block or any other Simulink block that you can write a piece of script in it...Another way is to develop an S-function which can be done with S-function builder.
  댓글 수: 1
sai vasavi
sai vasavi 2012년 8월 8일
Hi Babak Thanks for your quick response.I am unable to understand your answer clearly.Please can you elaborate your answer.

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

카테고리

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