You can reduce file dependencies by inlining model content when you generate the sliced model. Inlining brings functional content into the sliced model and can eliminate model references, library links, and variant structures that are often not needed for model refinement or debugging.
If you want to disable inlining for certain block types, open the Model Slice Manager and click the options button . Select only the block types for which you want to inline content. For information on block-specific inlining behavior, see Inline Content Options.
This example demonstrates inlining content of a model referenced by a Model block.
Add the path to the example and open the model
On the Apps tab, under Model Verification, Validation, and Test gallery, click Model Slicer.
In the model, right-click the MAP outport and select Model Slicer > Add as Starting Point. The path is highlighted through the Model block.
Create a sliced model from the highlight. In the Model Slice Manager, click the Generate slice button.
Enter a file name for the sliced model.
The sliced model contains the highlighted model content. The model reference is removed.
Click the arrow to look under the mask of the ThrottleAndManifold subsystem. The content from the referenced model is inlined into the model in the masked subsystem.