Simulink plot discrete data
25 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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)
0 Commenti
Risposte (1)
Aarti Ghatkesar
il 25 Ago 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?
0 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!