How to create a simulink block from an m file?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to create a simulink block from m file.I have Matlab R2009a. Should I choose "Embedded Matlab Function" or "Matlab Function" from Simulink library under User-Defined functions? Moreover, I watched a video in which the same task was achieved using "Matlab Function" whose link is below: http://www.mathworks.com/videos/incorporating-matlab-algorithms-into-a-simulink-model-69028.html In my case when i double click "Matlab Function" block it does not open Editor.What to do?
댓글 수: 0
답변 (1개)
Kaustubha Govind
2013년 4월 19일
In newer releases, 'Embedded MATLAB Function' has been renamed to 'MATLAB Function' and 'MATLAB Function' has been renamed to 'Interpreted MATLAB Function', The video refers to the newer names. If you'd like to follow the video, use the 'Embedded MATLAB Function' block. See here for a comparison of the two blocks.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!