Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Simulink Logging: log (i.e. send to workspace) separated datasets for multiple instances of reference models (without using to Workspace blocks)
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/207083/image.jpeg)
Thanks in advance!
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!