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
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
2020-9-11
Shambhu Prasad
2020-9-11
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
2020-9-11
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
2020-9-11
Fangjun Jiang
2020-9-11
please attach the model and indicate the MATLAB version
Shambhu Prasad
2020-9-11
0 个投票
6 个评论
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
2020-9-11
Shambhu Prasad
2020-9-11
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
2020-9-11
Shambhu Prasad
2022-6-11
类别
在 帮助中心 和 File Exchange 中查找有关 Scopes and Data Logging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!