How to build, connect to target and run a simulink model with GUI?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Amir
am 17 Jun. 2014
Kommentiert: Kaustubha Govind
am 24 Jun. 2014
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 Kommentare
Akzeptierte Antwort
Kaustubha Govind
am 17 Jun. 2014
4 Kommentare
Kaustubha Govind
am 19 Jun. 2014
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?
Weitere Antworten (1)
Amir
am 23 Jun. 2014
1 Kommentar
Kaustubha Govind
am 24 Jun. 2014
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
Siehe auch
Kategorien
Mehr zu View and Analyze Simulation Results 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!