Unit conversion in data inspector for Simscape simulation broken

Hallo everyone,
did someone experience issues with the unit conversion feature inside Data inspector for Simscape models? When I change the physical of some model block, sometimes it works and it changes correspondingly. But some times it doesn't work and, also, have the strange experience that it keeps the changed unit for the next run which leads to a totally wrong result.
Example: Stroke of a piston shown in [m]. The stroke is 1 m and I would like to show it in mm --> Nothing changed. When i rerun the simulation the Data Inspector shows the standard unit of [m] but the value now is 0.001. When I now switch to [mm] it changes to 1e-6...
Any idea how to fix this issue?

Answers (0)

Categories

Asked:

on 29 Jun 2020

Community Treasure Hunt

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

Start Hunting!