Documentation on 'ZOrder'

58 visualizaciones (últimos 30 días)
Ankur
Ankur el 4 de Nov. de 2022
Comentada: Richard Crozier el 10 de Nov. de 2024 a las 22:31
Can some one provide me documentation on 'ZOrder'?
  2 comentarios
Steven Lord
Steven Lord el 4 de Nov. de 2022
In what context? I only find two hits in the online documentation for that word, but I suspect they're each spurious. There are 13 hits in MATLAB Answers and 3 on the File Exchange; if you're referring to one of those, please link to the Answers post or the File Exchange submission.
If you're referring to something that's not in the documentation, MATLAB Answers, or the File Exchange please provide more information on what you're looking for.

Iniciar sesión para comentar.

Respuestas (1)

Santosh Fatale
Santosh Fatale el 9 de Nov. de 2022
Hi Ankur,
Kindly note that the "ZOrder" property is a hidden property associated with every block used in the model, and thus currently we have not provided any documentation about it. For more information, you can follow the answer to the following ML Answer.
You can get ZOrder property value of specific block in model using get function and can set to new value using set function.
get(blockHandle, ZOrder)
set(blockHandle, ZOrder, value)
To get block handle to one of the blocks in your model, you can either use gcb or following steps.
modelBlocks = find_system(modelName) % without .slx extension
blockHandle = getSimulinkBlockHandle(modelBlocks{2});
  1 comentario
Richard Crozier
Richard Crozier el 10 de Nov. de 2024 a las 22:31
Well it should be documented becase you often see many conflicts when merging using the Simulink merge tool and there's no way to find out if it's important

Iniciar sesión para comentar.

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by