Info

This question is closed. Reopen it to edit or answer.

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?

2 views (last 30 days)
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?

Answers (0)

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!