Order of xPC Target scopes on the screen

1 view (last 30 days)
Nikita Visnevski
Nikita Visnevski on 8 Dec 2011
Commented: James Brown on 30 Dec 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.

Answers (1)

M LaRosa
M LaRosa on 22 Oct 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 Comment
James Brown
James Brown on 30 Dec 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.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!