Simulink scope not displaying values.

Hi,
I am using MATLAB 2016a. My simulation is running properly and getting the expected values. But the scope is not showing any waveforms. What could be reason?

回答 (2 件)

Fangjun Jiang
Fangjun Jiang 2020 年 9 月 11 日

0 投票

Most likely the settings of the Scope. Click View, Style, set the "Marker" to be none.
I've answered at least twice on similar questions. Some constant values only show one dot when "Marker" is on.

7 件のコメント

Shambhu Prasad
Shambhu Prasad 2020 年 9 月 11 日
The marker is set on none only. I have even uncheced the "limit data points to last". Even when I am using plot in command window.. waveforms are not appearing
Shambhu Prasad
Shambhu Prasad 2020 年 9 月 11 日
but the values are appearing when i am using display
Fangjun Jiang
Fangjun Jiang 2020 年 9 月 11 日
Click the button "Scale X & Y Axes Limits" to view the whole graph?
If no result, open the example model "f14" to see if the Scope there works.
Shambhu Prasad
Shambhu Prasad 2020 年 9 月 11 日
I have clicked the button Scale X and Y axis. But no use. I have opened the model in 2018B. Couldn't get model f14. no use. Shall I sent you the model? Will you check it sir..
Fangjun Jiang
Fangjun Jiang 2020 年 9 月 11 日
編集済み: Fangjun Jiang 2020 年 9 月 11 日
"f14" is with every version. Type "f14" in Command Window and run simulaiton. Maybe copy the Scope block from "f14" if it works.
Shambhu Prasad
Shambhu Prasad 2020 年 9 月 11 日
f14 is working properly. Copied teh scope block. No use.
Fangjun Jiang
Fangjun Jiang 2020 年 9 月 11 日
please attach the model and indicate the MATLAB version

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

Shambhu Prasad
Shambhu Prasad 2020 年 9 月 11 日

0 投票

Sir, check the scope waveforms for the active power sharing. version 2018b

6 件のコメント

Fangjun Jiang
Fangjun Jiang 2020 年 9 月 11 日
For whatever reason, the simulation starts but stopped immediately. No error and no warning. Look at the logged time "tout". It is just 0. It means simulation is not run.
Shambhu Prasad
Shambhu Prasad 2020 年 9 月 11 日
Simulation time is 10s. For me it is running properly. scope is not showing the waveforms. Did you get the values?
Shambhu Prasad
Shambhu Prasad 2020 年 9 月 11 日
yeah tout is zero. but then how are the values being displayed? in that case how to get the waveforms?
Fangjun Jiang
Fangjun Jiang 2020 年 9 月 11 日
I believe the simulation is not run. You can set the stop time to be say 1000. If the simulation truly runs, you will be abel to see a prograss bar at the status bar (at the bottom of the simulink model window).
Shambhu Prasad
Shambhu Prasad 2020 年 9 月 11 日
I made the stop time as 100. But no use. I will try in another way. Thanks for your support.
Shambhu Prasad
Shambhu Prasad 2022 年 6 月 11 日
Hi.. I made the simulation time 1000. but still it is not running.
I just needed that old file again, and trying to run.
Is there any other method?

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

製品

リリース

R2016a

質問済み:

2020 年 9 月 11 日

コメント済み:

2022 年 6 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by