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

1 visualización (últimos 30 días)
Nico0789 Mazzi
Nico0789 Mazzi el 4 de Oct. de 2013
Respondida: Ravi el 4 de Oct. de 2013
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"?

Respuesta aceptada

Ravi
Ravi el 4 de Oct. de 2013
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..

Más respuestas (0)

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by