Embedded function (Simulink)

Hi everybody, I wrote a Logistic map function in Matlab. How can I call this function from Simulink by use embedded function.

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 24 de Mayo de 2011

1 voto

Drag and drop the "Embedded MATLAB Function" block from library "Simulink","User-Defined Functions" to your model and copy then paste your M-Function.
Or drag and drop the "Fcn" block from the same library and put in your M-Function name.
All assume that you have or figure out the input/output argument syntax.

Más respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by