configuration about simulink scope

6 Ansichten (letzte 30 Tage)
wenchao zhang
wenchao zhang am 4 Aug. 2024
Kommentiert: wenchao zhang am 5 Aug. 2024
hello, who know how to change the active display, it will defaultly set channel 1, how i can change to channel 2, seems it frozen, i can not change.

Akzeptierte Antwort

Abhas
Abhas am 5 Aug. 2024
Hi Wenchao,
By default, the "Scope" block might display signals from Channel 1. If you want to change the active display to Channel 2, you can do this by configuring the "Scope" block settings in the following manner:
  1. Double-click on the "Scope" block to open the "Scope" window.
  2. In the "Scope" window, click on the 'View' menu. Select 'Configuration Properties' from the dropdown menu. This will open the Scope Configuration Properties dialog.
  3. Navigate to the 'Layout tab' and change the Number of displays to 2 (or the desired number of channels) either along the rows or the columns.
  4. Navigate to the 'Display' tab and change the 'Active display' to 2 (or the desired channel number). Save and Clsoe the 'configuration properties'.
You may refer to the following MathWorks documentation links to have a better understanding on configuration properties and active displays of scope:
  1. https://www.mathworks.com/help/simulink/ug/using-the-scope-block.html
  2. https://www.mathworks.com/help/simulink/slref/spbscopes.scope.timescopeconfiguration.html#buvw6zv-1-ActiveDisplay
  1 Kommentar
wenchao zhang
wenchao zhang am 5 Aug. 2024
hi, abhas, yes if i put each signal to different sub display window, i can change the active signal to other channel, but actually in some case we want several signal display in one window, then it is difficult to change the property of each line. data inspector may be more powerfull and more suitable to analysis datas.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by