How do I add one library to another in MATLAB?

5 次查看(过去 30 天)
I have two libraries, LIB_1 LIB_2. I wanted to add LIB_2 to LIB_1 by linking it. How do I do it?

回答(1 个)

Tejas
Tejas 2024-11-25
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'));

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

标签

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by