How to return a structure from c code in MATLAB function block of simulink (not c caller function)
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
BhaTTa
le 17 Avr 2025
Modifié(e) : BhaTTa
le 17 Avr 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 commentaires
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!