how to change the display accuracy of cursor data in simulation data inspector

28 ビュー (過去 30 日間)
fangfines
fangfines 2020 年 6 月 29 日
コメント済み: John 2023 年 5 月 3 日
hi, can i change (increase) the data display accuracy of the curor in simulation data inspector?
now i only get like 0.1, 10.2, x.y..., how can i get it to like 0.12, 8.57, x.ab, or even more decimal places?
thx
  3 件のコメント
Landon Wagner
Landon Wagner 2023 年 3 月 6 日
Seconded! I'm not having a good time mousing around traces and cursors viewing higher sigs figs.
John
John 2023 年 5 月 3 日
+1 to this. Often cursors show "0" just because the full axis scale is eg 20. But if I zoom in I can see the signal is 0.01, which is significantly large.
There's also no way to lock axis zoom scaling in for subsequent runs, which could be a workaround.
Overall this is kind of useless for real rapid development, and needs to be changed.

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

採用された回答

Hari Veerubhotla
Hari Veerubhotla 2020 年 9 月 16 日
Hi,
Currently, there is no such option is cursor settings of Simulink Data Inspector where you could set the decimal precision of a cursor values.
However, the cursor value precision displayed always depends on the time points precision in the plot.
For example, in the image shared by you the time range is between 0-110 seconds. Hence the decimal precision in cursor is 1 i.e data value is 450.0
In case if the time range is between 22.5 – 23.0 seconds, decimal precision in cursor will be 2 i.e. data value could be 223.45
Concerned development team is aware of this and having a UI setting to set the precision for cursor is considered for future releases
-Thanks

その他の回答 (1 件)

Todd
Todd 2021 年 7 月 21 日
Here's a workaround: Export the plots to a figure, and you can configure data tip format, and do many other things that you can't do in SDI.
  1 件のコメント
Todd
Todd 2021 年 7 月 21 日
I just posted this, and then got an error exporting to a figure. "Handles of type Menu cannot be made [sic] the current Axes"

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

カテゴリ

Help Center および File ExchangeView and Analyze Simulation Results についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by