How to predefine the absolute tolerance in a signal that is imported in Simulation Data inspector

1 次查看(过去 30 天)
Hi to all,
i have created a script that creates signals in the workspace, and automatically they are imported in the Simulation Data inspector. I want each time they are imported, when i go to the compare runs tab in the Simulation Data Inspector, the absolute tolerance to be already defined. It is very inconvenient to manually change, in the simulation data inspector, the absolute tolerance of the signals each time i run the script. Any suggestions?

回答(1 个)

Raghul Gandhi
Raghul Gandhi 2018-12-17
The Simulink.sdi.compareRuns method can be used to compare runs and set absolute tolerance for the comparison.

类别

Help CenterFile Exchange 中查找有关 Analyze Simulation Results 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by