Show results after simulation

I am building an interface that performs simulations using simulink simulation input and output objects. But at the moment of showing my simulation results in the interface, I noticed that they appear without the units. It is the same as it is shown if I use the data inspector. Has anyone worked with these simulink objects and managed to display the units? What other alternatives do you suggest to work with several groups of simulations of the same simulink/simscape model with an interface. Thanks

回答 (1 件)

Pratyush
Pratyush 2023 年 6 月 3 日

0 投票

Are you viewing the simulation results in the scope block? If yes then you can go to the Axes properties button in the toolbar, in the dialog box select units tab. There you can enter the units for your signal.

1 件のコメント

Paola Martin
Paola Martin 2023 年 6 月 3 日
Hello thanks for your answer. No, I am using simulation Manager and data inspector to see the results. And in the GUI I develop I use get.simlog.BlockName.Parameter. To get the results. But I can't get the units to appear. I can't put them manually because, although I work with a single simscape model, sometimes I will need to use other models.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeData Logging についてさらに検索

製品

リリース

R2022b

質問済み:

2023 年 6 月 3 日

コメント済み:

2023 年 6 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by