Unable to plot graph from Workspace

Hi, good day guys,
I need help in plotting graph from workspace. Example here is my result in simulink display : 10 20 30 But at my workspace the result became 10 20 30 10 20 30 10 20 30
the result should be like this : 10 20 30. So it's make me unable to plot the graph. When I right click, there no menu for plot.
Someone pls help....
Tg..

回答 (1 件)

Andreas Goser
Andreas Goser 2011 年 10 月 5 日

0 投票

It looks like the "simulink display" is a Scope block that is set to display repeating data in a way that it looks like an oscilloscope. That is the "Time Range" setting. This also means, the worksapce data is the same larger sata set, but you see only a part.
To your goal: It sounds, you want to plot that fraction of data in MATLAB and not the whole data set.

カテゴリ

ヘルプ センター および File ExchangeView and Analyze Simulation Results についてさらに検索

タグ

質問済み:

2011 年 10 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by