Clear Filters
Clear Filters

Simulink plot discrete data

17 views (last 30 days)
R
R on 23 Aug 2015
Answered: Aarti Ghatkesar on 25 Aug 2015
I've had a issue where I could not work out why the Simulink scope was not displaying discrete time data, even though it was resizing to automatically fit data. It turned out that I needed to turn on the marker feature with the scope settings to display the discrete data, which is not required for continuous data.
Now my problem is what is the best method to join the discrete data points so it appears like continuous time data, where each point connects to the next? A screenshot example of the problem is attached below.
EDIT: If I open the discrete scope that only displays markers (Scope 6 in the screenshot attached) and change the line width from 0.5 to 1, the first line in a vector displays fine, except being thicker than I'd like. The other signals in a vector are also not shown until I increase the line size of them too. Perhaps a bug? (Matlab 2015a)

Answers (1)

Aarti Ghatkesar
Aarti Ghatkesar on 25 Aug 2015
Hello
I think the you can try to change the 'Line' marker from 'no line' option to something else for these markers to be connected. This option is present in Scope->Settings->Style->Line
Hope this helps
Can you elaborate on the second question?

Products

Community Treasure Hunt

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

Start Hunting!