- Export the signals to be compared to base workspace with “To Workspace” block.
- Then extract the section of timeseries data to be compared.
- Use the functions in “Simulink.sdi” in order to set the environment for comparing the signals.
Simulation data inspector section of signal
2 views (last 30 days)
Show older comments
I'm tryng to compareonly a section of two signals with Simulation data inspector but i can't find any settings to do that..
any helps?
0 Comments
Accepted Answer
Prathamesh
on 27 Jul 2023
Hi,
I understand that you want to compare specific sections of two signals in Simulink data inspector.
I don’t see a direct way of doing this but can be achieved programmatically as shown in the below steps.
Refer to the first section of the documentation for details about the functions and implementation:
Alternatively, the model can be run in different time steps to get the specific sections and then compare those signals.
Refer to the documentation to get more information on how to compare data on different run.
I hope this resolves your issue.
0 Comments
More Answers (0)
See Also
Categories
Find more on Analyze Simulation Results in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!