How to include s-functions in a "library model"?

3 ビュー (過去 30 日間)
Nico0789 Mazzi
Nico0789 Mazzi 2013 年 10 月 4 日
回答済み: Ravi 2013 年 10 月 4 日
I have created some simulink models that include some s-functions. If I want to create a library with these model can I "include" s-functions in the "library model"?

採用された回答

Ravi
Ravi 2013 年 10 月 4 日
Open an empty library model. Copy all your models into that library.
Create an .m file to run your library. Copy it in the working directory. If you call that .m file. Your library gets loaded. Just restart simulink. Watch it in the Blocks list..

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBlock and Blockset Authoring についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by