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

4 visualizzazioni (ultimi 30 giorni)
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)

BhaTTa
BhaTTa il 17 Apr 2025
Modificato: BhaTTa il 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:

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by