Get block outport value
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Po-Chen Liu
am 26 Jan. 2021
Kommentiert: Fangjun Jiang
am 28 Jan. 2021
I want the value of a MinMax outport without having to export it to the workspace AFTER the simulation has run, is this possible?
Akzeptierte Antwort
Fangjun Jiang
am 26 Jan. 2021
Bearbeitet: Fangjun Jiang
am 26 Jan. 2021
select that output signal line, right click, select "properties"
2 Kommentare
Fangjun Jiang
am 28 Jan. 2021
Press Ctrl+E to open "configuration parameters", click "Data Import/Export" on the left, on the right, check "signal logging", un-check "single simulation output".
Finish a simulation, go to Command Window, you should see data "logsout" in the base workspace. Check its structure and value or plot it out.
Note, this might be slightly different depending on your MATLAB version and the settings in the dialog.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Save Run-Time Data from Simulation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!