Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Simulink Logging: log (i.e. send to workspace) separated datasets for multiple instances of reference models (without using to Workspace blocks)

4 visualizaciones (últimos 30 días)
Hi,
I am using the Simulink Logging (Matlab2017b) (by logging selected signals).
These signals have the same name in different sub-components (in my case, will be reference models). I get a dataset in the matlab workspace that lists the signals with the same name, and has a field "BlockPath" to distiguish the origin of the signals (see picture).
This is not very handy, because I would need to look into the data structure to understand where a specific signal comes from.
It would be better to log directly the signals from the different sub-components (that contain same signal names, being multiple instances of the same reference model) into different datasets. Is there an option in Simulink to do so?
Otherwise, I need to write some code in matlab, using the BlockPath property to cluster the data... this is not smart because the data are already clustered in Simulink.
Can you help me?
Thanks in advance!

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by