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 个)

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 的更多信息

提问:

2019-10-23

编辑:

2025-4-17

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by