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?

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDiscrete Events and Mode Charts についてさらに検索

質問済み:

2020 年 6 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by