Filter löschen
Filter löschen

Order of xPC Target scopes on the screen

1 Ansicht (letzte 30 Tage)
Nikita Visnevski
Nikita Visnevski am 8 Dez. 2011
Kommentiert: James Brown am 30 Dez. 2014
I would like to change the order of my xPC Target scopes on the screen to maintain relevant plots together. I cannot seem to figure out how to do that since the target scope ID field seems to be ignored. I am running Matlab 2011b. I have a recollection that in earlier versions of Matlab scope ID actually did control the order and am puzzled as to why it does not anymore.
Any suggestions are appreciated.

Antworten (1)

M LaRosa
M LaRosa am 22 Okt. 2013
I know this is an old question but I thought I would offer an answer anyways in case anyone else has had this problem. You can change the ordering of scopes on the screen by using priorities. Right click on each xPC Target Scope block, click "properties," and enter a number in the box for "priority." The ordering will now be determined by the priorities with the lowest priority executed first.
Example: If I wanted my three scopes to be ordered properly, I would likely use a configuration similar to this. The actual priority values don't matter as long as they are ordered and are executed when you would like them to be in relation to your other blocks.
  1. Scope1 - priority 11
  2. Scope2 - priority 12
  3. Scope3 - priority 13
  1 Kommentar
James Brown
James Brown am 30 Dez. 2014
You're right for older versions of xPC Target. However, in ver 6.0 (2014a), the scope number is the determining factor in display order.

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by