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

 채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 5월 24일

1 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by