Info

This question is closed. Reopen it to edit or answer.

How to Read Inport Parameter in Libarary Model.

1 view (last 30 days)
Kanava Pitchai
Kanava Pitchai on 16 Mar 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi,
I can able to Read the Parameter of inport Block, Using the Signal Hierarchy in Simulink Model.
But in Simulink Library Model I cant able to Read the Parameter of inport Block. Because the Signal Hierarchy option is disabled in in Simulink Library Model..
How can i Read the Parameters (Parent and Children) in Library Model.
Thank in Advance.
Eg:
A = get_param( 'Rough/in_port', 'PortHandles');
B = get_param(A.Inport, 'SignalHierarchy');

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!