Borrar filtros
Borrar filtros

Get block outport value

3 visualizaciones (últimos 30 días)
Po-Chen Liu
Po-Chen Liu el 26 de En. de 2021
Comentada: Fangjun Jiang el 28 de En. de 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?
  1 comentario
Po-Chen Liu
Po-Chen Liu el 26 de En. de 2021
I have tried get_param to no avail

Iniciar sesión para comentar.

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 26 de En. de 2021
Editada: Fangjun Jiang el 26 de En. de 2021
select that output signal line, right click, select "properties"
  2 comentarios
Po-Chen Liu
Po-Chen Liu el 27 de En. de 2021
I have it so that it logs the last output, but how do I access that output?
Fangjun Jiang
Fangjun Jiang el 28 de En. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Save Run-Time Data from Simulation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by