Simulink.sdi.getUnitSystem
Get current unit system configured in Simulation Data Inspector preferences
Since R2020b
Syntax
Description
returns the unit system configured in the Simulation Data Inspector preferences. For more
information about unit preferences, see Signal Display Units. To specify unit
preferences for the Simulation Data Inspector, use the
unitSystem
= Simulink.sdi.getUnitSystemSimulink.sdi.setUnitSystem
function.
[
returns the unit system and override units configured in the Simulation Data Inspector
preferences.unitSystem
,overrideUnits
] = Simulink.sdi.getUnitSystem
Examples
Output Arguments
Version History
Introduced in R2020b