Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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?

回答(1 个)

Cedric Götze
Cedric Götze 2015-7-21
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!

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by