Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to Read Inport Parameter in Libarary Model.

1 vue (au cours des 30 derniers jours)
Kanava Pitchai
Kanava Pitchai le 16 Mar 2020
Clôturé : MATLAB Answer Bot le 20 Août 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');

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by