Main Content
Simulink.SubsystemReference.getNearestParentSubsystemReferenceBlock
Description
returns the nearest parent Subsystem Reference block for the specified block. If the
specified block is not inside any Subsystem Reference block, the function returns an empty
array.ssRefBlock
= Simulink.SubsystemReference.getNearestParentSubsystemReferenceBlock(blockPath
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022a
See Also
Functions
Simulink.SubsystemReference.getAllInstances
|Simulink.SubsystemReference.getActiveInstances
|Simulink.SubsystemReference.getAllDirtyInstances
|Simulink.SubsystemReference.getAllReferencedSubsystemBlockDiagrams
|Simulink.SubsystemReference.getSystemOwningTheLock
|Simulink.SubsystemReference.isSystemLocked