how to include my own matlab functions in simulink
이전 댓글 표시
Am using 2013A. Am new to Simulink. I want to include Matlab functions I've already written. Simulink lets me create a user-defined Matlab function block (User-defined functions, Matlab function fcn()
which does create a new blank function that I can edit. But what I want to do is open my existing matlab stuff and use it as a simulink object. The only thing I can think of is to copy and paste my matlab function into the blank template for the fcn() object created by Simulink but this is unbelievably klugey. Any ideas??
답변 (1개)
Azzi Abdelmalek
2014년 7월 12일
0 개 추천
댓글 수: 2
Constantine
2014년 7월 12일
Azzi Abdelmalek
2014년 7월 12일
No, you can return what you want, and choose your own function
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!