Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to Read Inport Parameter in Libarary Model.

1 次查看(过去 30 天)
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');

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by