Info

此问题已关闭。 请重新打开它进行编辑或回答。

Is there any way to get logged data in simulink, if i have several signals with the same names in different subsystems of one model?

1 次查看(过去 30 天)
I have made the comand: dataset=logsout.convertToDataset('MyModel_Dataset') And now when i try to implement "vr_predicted=logsout.get('Vr_predicted').Values.Data"(example from the code) i have an error, because there are several signals with the name Vr_predicted in different subsystems. Before convert to Dataset, there was a path for the signal while logging the data: "vr_predicted=logsout.Tracker.Rtracker.Vr_predicted.Data" (example from the code). Now there is no any path, but only the name of signal: "vr_predicted=logsout.get('Vr_predicted').Values.Data" So the question is: Is there any way to get logged data in simulink, if i have several signals with the same names in different subsystems of one model?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by