Exmple of implementing C code in Simulink
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Could someone provide me an example for using C code in Simulink? Thanks.
0 commentaires
Réponse acceptée
A Jenkins
le 22 Avr 2014
There are dozens of examples included with MATLAB. In your command window, type
sfundemos
2 commentaires
A Jenkins
le 23 Avr 2014
In my version (2013b), all of the sample models contain a blue block with the path name of the source, you can double click on that block to open the C source in the editor.
Or just go to matlabroot/toolbox/simulink/simdemos/simfeatures/src. The help file link above has descriptions of which file is which.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Coder dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!