Order of xPC Target scopes on the screen

1 次查看(过去 30 天)
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.

回答(1 个)

M LaRosa
M LaRosa 2013-10-22
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 个评论
James Brown
James Brown 2014-12-30
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.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by