Embedded function (Simulink)

1 visualizzazione (ultimi 30 giorni)
bavi heo
bavi heo il 24 Mag 2011
Hi everybody, I wrote a Logistic map function in Matlab. How can I call this function from Simulink by use embedded function.

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 24 Mag 2011
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.

Più risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by