How to find position of a simulink blocks which are used in multiple sub-systems

3 views (last 30 days)
Hi,
I want to find out relative position of a simulink block which is used in multiple sub-systems in a model.
P1 = get_param(blk1,'Position') P2 = get_param(blk2,'Position') P3 = get_param(blk3,'Position') P4 = get_param(blk4,'Position')
gives me information about position in current sub-system. But I can not compare this information available in P1,P2,P3 and P4 as they are in different sub-systems.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!