Generazione di codice C/C++
Generare codice C dal codice MATLAB®
Genera codice sorgente C/C++, librerie statiche, librerie dinamiche o eseguibili dal codice MATLAB utilizzando l'app MATLAB Coder™ o il comando codegen. Per generare codice C e C++ autonomo per le funzioni supportate è necessario MATLAB Coder.
Per un elenco delle funzioni che supportano la generazione di codice, vedere Elenco delle funzioni (generazione di codice C/C++).
Argomenti
- Generate Standalone C Static Library at the Command Line (MATLAB Coder)
Generate a C static library from a MATLAB function by using the
codegencommand. - Generate Deployable Standalone Code by Using the MATLAB Coder App (MATLAB Coder)
Follow the steps of the code generation workflow to generate a standalone C++ dynamic linked library.
- Human Activity Recognition Simulink Model for Smartphone Deployment (Statistics and Machine Learning Toolbox)
Generate code from a classification Simulink® model prepared for deployment to a smartphone.






