How to return a structure from c code in MATLAB function block of simulink (not c caller function)
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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
0 Commenti
Risposte (1)
BhaTTa
il 17 Apr 2025
Modificato: BhaTTa
il 17 Apr 2025
Please refer to this documentation: https://www.mathworks.com/help/coder/ref/coder.ceval.html,
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:
0 Commenti
Vedere anche
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!