Generazione di codice C/C++
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 C Code at the Command Line (MATLAB Coder)
Use command line tools to generate C code from an example MATLAB function.
- Generate C Code by Using the MATLAB Coder App (MATLAB Coder)
Use the MATLAB Coder app to generate C code from an example MATLAB function.
- Specify Inputs in Code Generation from MATLAB
When you use Signal Processing Toolbox™ functions for code generation, you must define the size and type of the function inputs.
- 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.






