How can I find the position of a block in a print regarding the top left corner?

2 visualizaciones (últimos 30 días)
Hello,
Previously in Matlab 2011b, to find the position of a bloc in a simulink system that we print we used the get_param(block,'position') but it was working because the origine was always on the top left corner.
However in Matlab 2018b, the position of a bloc can be negative so the origine can be anyware in the screen.
Can you please help to find how I can find the position of a blocs regarding the top left corner of a system screen ?
Thanks

Respuestas (0)

Categorías

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

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by