Order of xPC Target scopes on the screen

조회 수: 1 (최근 30일)
Nikita Visnevski
Nikita Visnevski 2011년 12월 8일
댓글: James Brown 2014년 12월 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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by