Order of xPC Target scopes on the screen

1 visualización (últimos 30 días)
Nikita Visnevski
Nikita Visnevski el 8 de Dic. de 2011
Comentada: James Brown el 30 de Dic. de 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.

Respuestas (1)

M LaRosa
M LaRosa el 22 de Oct. de 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 comentario
James Brown
James Brown el 30 de Dic. de 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.

Iniciar sesión para comentar.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by