Hello Krishna,
To link one library to another, follow these steps:
- Open both library models.
- Place the blocks from 'LIB_2' that you want to link, into a subsystem. Refer to this documentation for guidance on how to do this:
web(fullfile(docroot, 'simulink/slref/subsystem.html'));
- Drag this subsystem block from 'LIB_2' into 'LIB_1'. This will establish a link between the libraries.
For more details on 'Linked Blocks', refer to this documentation:
web(fullfile(docroot, 'simulink/ug/creating-and-working-with-linked-blocks.html'));