How to set to 'none' the UnitsInconsistencyMsg
Show older comments
Hi,
I have defined some unit of measure in bus objects, using the bus editor, but whenever I run a simulation I get the following message:
Warning: The units 'm3' specified on block 'Controls/Engine Control Module/ECM model variant/ Internal ECM' are not defined in the Simulink
unit database. Investigate <b>52 similar inconsistencies</b> on Model Advisor Report.
If you cannot use a unit that exists in the database, consider suppressing all units inconsistency warnings by setting the configuration parameter
<sldiag objui="configset" objparam="UnitsInconsistencyMsg">'Units inconsistency messages'</sldiag> to 'none'.
I know this is the wrong way to define m3, and the correct way is m*m*m, but I need to define it like this to have another software correctly reading the unit when importing the simulation outputs from Simulink.
I'm using MATLAB R2017b and I could not find a way to set the Units incosistency messages to 'none'. How is this done?
Accepted Answer
More Answers (0)
Categories
Find more on Manual Performance Optimization 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!