Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

2 ビュー (過去 30 日間)
Vivek
Vivek 2015 年 2 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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