Problem with simulink functions
조회 수: 2 (최근 30일)
이전 댓글 표시
hello to all
im working with simulink, and i have a question
i want to make a block of " matlab function"
and i dont know how to call to a .m file that calls another function (another .m file).
so my question is, how do i put these two .m files on the same block. (the first .m file is the code and the second one is the function that the code calls to it )
any help will be appreciated
댓글 수: 0
채택된 답변
Fangjun Jiang
2011년 6월 16일
You can call the second M-Function in your first M-Function, right? Then you just need to call the first M-Function in your Simulink Fcn block.
댓글 수: 0
추가 답변 (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!