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

Réponses (1)

BhaTTa
BhaTTa le 17 Avr 2025
Modifié(e) : BhaTTa le 17 Avr 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:

Catégories

Question posée :

le 23 Oct 2019

Modifié(e) :

le 17 Avr 2025

Community Treasure Hunt

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

Start Hunting!

Translated by