How to return a structure from c code in MATLAB function block of simulink (not c caller function)

4 次查看(过去 30 天)
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 个)

BhaTTa
BhaTTa 2025-4-17
编辑:BhaTTa 2025-4-17
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:

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by