Simulink Real-Time Host Scope

3 views (last 30 days)
Maximilian
Maximilian on 6 Sep 2014
Commented: Dave Hall on 12 Apr 2021
Is there a way to add labels to the axes on the host scope?
Also is it possible to have the legend display the signal label and not the signal name?
Listing the entire path to the signal takes up too much space on the screen and without a name or axes labels the plot is essentially useless or at least incredibly hard to read.

Answers (1)

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy on 7 May 2015
You can add labels ("signal names") to the signals feeding the scope. As long as these labels are unique, they should be displayed.
You may have to go back and add the label to the source block feeding the signal; for instance, if the label is at a signal from a subsystem output, this probably will not work. You will have to add the label to the (say) Gain block feeding the subsystem output port.
  1 Comment
Dave Hall
Dave Hall on 12 Apr 2021
If the scope input has multiple signals (e.g., v1, v2, v3), is there a way to associate a label with each trace in the scope? When I lable the signal "v1, v2, v3", each trace is not surprisingly labeled "v1, v2, v3".

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!