Info
This question is closed. Reopen it to edit or answer.
Simulink Logging: log (i.e. send to workspace) separated datasets for multiple instances of reference models (without using to Workspace blocks)
1 view (last 30 days)
Show older comments
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!
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!