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.
Can you help me?
Thanks in advance!
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!