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

Risposte (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:

Categorie

Richiesto:

il 23 Ott 2019

Modificato:

il 17 Apr 2025

Community Treasure Hunt

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

Start Hunting!

Translated by