Info

This question is closed. Reopen it to edit or answer.

How can I add a subsystem containing simscape components to a custom simscape library? (using ssc_build or likewise)

2 views (last 30 days)
Hello Everyone!
I have a bunch of .ssc files in a directory and when I run ssc_build, it creates a library for me. But how can I add a subsystem (which also containts simscape components) to the library as part of the ssc_build process? I can manually add this subsystem by drag and drop into the library model, but whenever I rebuild the library it will disappear since it only picks up the .ssc files to build. Any pointers?

Answers (1)

Cedric Götze
Cedric Götze on 21 Jul 2015
Maybe it is already to late to solve your problem.
You can create 'Composite Components' which contain other components. Look at page 2-49 for further information:
Maybe this answer helps somebody else!

Products

Community Treasure Hunt

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

Start Hunting!