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

Respuestas (1)

BhaTTa
BhaTTa el 17 de Abr. de 2025
Editada: BhaTTa el 17 de Abr. de 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:

Categorías

Más información sobre Simulink Functions en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Oct. de 2019

Editada:

el 17 de Abr. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by