In Simulink demo sldemo_absbrake, the plotys are generated without using blocks. How did they do it?
Mostra commenti meno recenti
I suspect it is related to logging data in workspace..???
Risposta accettata
Più risposte (2)
John Krzykacz
il 25 Mar 2018
0 voti
Sara Nadeau
il 26 Mar 2018
0 voti
A bit of clarification on the comment that mentions the Simulation Data Inspector:
The Simulation Data Inspector does not plot any data automatically at the end of the simulation and is not related to the plots generated when you simulate sldemo_fuelsys. As the comment pointed out, the model uses the callback StopFcn and an attached m file to create the figures.
You can also quickly view logged signals using the Simulation Data Inspector. Clicking the logging badge on the signal selects the signal to plot and opens the Simulation Data Inspector at the same time. If you open the Simulation Data Inspector using the button on the Simulink Editor toolstrip, no signals are plotted, and you can select signals to plot and inspect using the checkboxes next to the signals.
7 Commenti
John Krzykacz
il 26 Mar 2018
Birdman
il 26 Mar 2018
Why don't you do what I already told you in my answer?
John Krzykacz
il 26 Mar 2018
John Krzykacz
il 27 Mar 2018
Birdman
il 27 Mar 2018
Yes exactly. I have been trying to say that. Glad you solved your problem. You can accept my answer if it helped.
John Krzykacz
il 27 Mar 2018
John Krzykacz
il 27 Mar 2018
Categorie
Scopri di più su Model, Block, and Port Callbacks in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!