Simulink - Interpreted Matlab Function: How can I define that I want two inputs to my function?
조회 수: 25 (최근 30일)
이전 댓글 표시
I hava a function represented by the interpreted matlab function block.
In the matlab function code, I have specified it has two inputs. However, one one input port appears on the interpreted matlab function block. Hence, when I run the simulaiton, I get an error telling me the function expects two inputs. How then can I define that I want two input ports on my interpreted matlab function block?
Thanks,
Rafael
댓글 수: 0
답변 (1개)
maiaL
2020년 8월 4일
The Interpreted MATLAB function block only accepts one input afaik. Would it be possible to use a MATLAB function block instead?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!