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!