Get block outport value
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Po-Chen Liu
il 26 Gen 2021
Commentato: Fangjun Jiang
il 28 Gen 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?
Risposta accettata
Fangjun Jiang
il 26 Gen 2021
Modificato: Fangjun Jiang
il 26 Gen 2021
select that output signal line, right click, select "properties"
2 Commenti
Fangjun Jiang
il 28 Gen 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.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Save Run-Time Data from Simulation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!