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!