Get block outport value
3 次查看(过去 30 天)
显示 更早的评论
I want the value of a MinMax outport without having to export it to the workspace AFTER the simulation has run, is this possible?
采纳的回答
Fangjun Jiang
2021-1-26
编辑:Fangjun Jiang
2021-1-26
select that output signal line, right click, select "properties"
2 个评论
Fangjun Jiang
2021-1-28
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Save Run-Time Data from Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!