How can I show two points value in a wave?

2 ビュー (過去 30 日間)
SweeHan Cham
SweeHan Cham 2021 年 11 月 1 日
回答済み: Alamanda Ponappa Poovaya 2021 年 11 月 10 日
Dear beloved community,
May I know how I can show two values (x and y axis) from the Simulink scope like this image that I found online:
I use the "Data tip" function, but it only can view once. Then when I press other point, the previous value will vanish.
Will really appreciate if you can help. Thank you.
  1 件のコメント
Mathieu NOE
Mathieu NOE 2021 年 11 月 2 日
hello
why not simply export your simulink data to matlab workspace and do plots with more capabilities than the simulink scope ?

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

回答 (1 件)

Alamanda Ponappa Poovaya
Alamanda Ponappa Poovaya 2021 年 11 月 10 日
A simple workaround is, first right click the scope output and select 'Print display to figure'.
Now you can simply click on points on the new figure that opens up which is identical to the scope output, and select as many points as you need
It will appear as seen in the screenshot below

カテゴリ

Help Center および File ExchangeScopes and Data Logging についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by