For Example: From attached Simulink model figure (This model has no meaning. created only to give idea about my problem ), I want to get the order of blocks based on pin connection instead of their alphabetic order.
The order should be like (Expected Output):
Integrator,Second-Order Limited Block
Integrator or Rate Limiter Dynamic Block
Rate Limiter Dynamic or Integrator Block
Lookup table Dynamic Block
Data type Conversion block
n-DLookup Table Block
But Currently I am getting order based on Aplhabatic name of Blocks (Refer below image for the results uisng 'find_system' command.)