How to make graph using simulink display block

2 ビュー (過去 30 日間)
Sourish Dey
Sourish Dey 2020 年 9 月 17 日
回答済み: Deepak Meena 2020 年 9 月 23 日
I need to know how to make a graph using the simulink 'display' block. I have made a transmission system calculator in which I am getting my answer from the display block present in simulink library. How do I represent that display block answer into a graph in matlab script.
  1 件のコメント
VBBV
VBBV 2020 年 9 月 17 日
編集済み: VBBV 2020 年 9 月 17 日

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

回答 (1 件)

Deepak Meena
Deepak Meena 2020 年 9 月 23 日
Hi Sourish,
There are several ways to obtain graph.
1) First as Vasishtha mentioned you can "to workspace" block so it will export the data to matlab. Note that by default it send data as timeseries variable , if you want to import it as array you can change the setting from block parameteres. From there you can plot graph using those data.
2) Another way is to use scope block, By using scope block you would be able to view graph directly in simulink.

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by