How to build, connect to target and run a simulink model with GUI?
조회 수: 4 (최근 30일)
이전 댓글 표시
Ive made a simulink model and a GUI over which I insert the values of the variables used in the simulink model and when I insert those values and run the model over the GUI with
load_system('untitled'); set_param('untitled','SimulationCommand','start');
everything workes fine, and I can see the end result in the GUI axes.
Now the problem is when I put the model in real-time, it just wont work. I need to somehow build the model, connect to target and run it. I want to be able to follow the results in the axes in the GUI.
I hope somebody can help me!
댓글 수: 0
채택된 답변
Kaustubha Govind
2014년 6월 17일
댓글 수: 4
Kaustubha Govind
2014년 6월 19일
Amir: That specific task can be accomplished by the technique described in the documentation linked in my original answer. Not sure why it didn't help you. Are there error messages?
추가 답변 (1개)
Amir
2014년 6월 23일
댓글 수: 1
Kaustubha Govind
2014년 6월 24일
Since you have created a new question, this can be answered there: http://www.mathworks.com/matlabcentral/answers/137218-how-to-make-a-loop-for-a-simulation
참고 항목
카테고리
Help Center 및 File Exchange에서 View and Analyze Simulation Results에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!