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
Fangjun Jiang 2021-1-26
编辑:Fangjun Jiang 2021-1-26
select that output signal line, right click, select "properties"
  2 个评论
Po-Chen Liu
Po-Chen Liu 2021-1-27
I have it so that it logs the last output, but how do I access that output?
Fangjun Jiang
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 CenterFile 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!

Translated by