How to return a structure from c code in MATLAB function block of simulink (not c caller function)
이전 댓글 표시
Hi all, How to return a structure from c code in MATLAB function block of simulink (not c caller function). Thanks in advance. Karthik R
답변 (1개)
Please refer to this documentation: https://www.mathworks.com/help/coder/ref/coder.ceval.html,
as an alternative to MATLAB function block you can also make use of C function block to model your system, refer to one such example below:
카테고리
도움말 센터 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!