Simulink.sdi.setUnitSystem
R2026bSpecify system of units to define signal display units in the Simulation Data Inspector
Description
Simulink.sdi.setUnitSystem(
configures the units displayed in the Simulation Data Inspector for logged and imported
signals using one or more name-value arguments.Name=Value)
The Simulation Data Inspector plots signals using the display units. The display units for a signal may differ from the stored units, which indicate units for the data as stored on disk. When you specify a system of display units or override display units for a particular measurement, the Simulation Data Inspector automatically adjusts the display units for logged or imported signals that use units that are not valid in the specified system.