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

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"?

 Akzeptierte Antwort

Ravi
Ravi am 4 Okt. 2013

0 Stimmen

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..

Weitere Antworten (0)

Kategorien

Mehr zu Block and Blockset Authoring finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 4 Okt. 2013

Beantwortet:

am 4 Okt. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by