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

2 ビュー (過去 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 Center および File ExchangeAnalyze Simulation Results についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by