Documentation on 'ZOrder'
24 views (last 30 days)
Show older comments
Can some one provide me documentation on 'ZOrder'?
2 Comments
Answers (1)
Santosh Fatale
on 9 Nov 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});
0 Comments
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!