Get Simulink Identifier of block, annotation, or Stateflow object
Simulink.ID.getSID
is not recommended. Use find_system
instead.
returns the Simulink Identifier (SID) of the block, annotation, or Stateflow object
simulinkID
= Simulink.ID.getSID(obj
)obj
.
A Simulink Identifier (SID) is a unique and unmodifiable identifier. Use the SID to identify an object throughout its lifetime, even if the name of the object changes.