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

4 views (last 30 days)
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

Answers (1)

BhaTTa
BhaTTa on 17 Apr 2025
Edited: BhaTTa on 17 Apr 2025
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:

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!