Calling the vectorized Matlab fcn from within Simulink
조회 수: 1 (최근 30일)
이전 댓글 표시
Dears,
I have various Matlab function vectorized and accosutmed to be used with matrix, vector inputs. Is there a way to use efffectivelly such "vectorized" functions in Simulink?
댓글 수: 0
채택된 답변
Paul
2022년 10월 18일
Use a Matlab Function block in the Simulink model and call your function from inside that block. If your function is not amenable for code generation, declare it via coder.extrinsic. Check the doc pages for relevant details.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!