C/C++ 코드 생성
MATLAB® 코드에서 C 코드 생성
MATLAB Coder™ 앱 또는 codegen
명령을 사용하여 MATLAB 코드에서 C/C++ 소스 코드, 정적 라이브러리, 동적 라이브러리 또는 실행 파일을 생성합니다. 지원되는 함수에 대해 독립형 C 및 C++ 코드를 생성하려면 MATLAB Coder가 필요합니다.
코드 생성을 지원하는 함수 목록은 함수 목록(C/C++ 코드 생성)을 참조하십시오.
앱
MATLAB Coder | Generate C code or MEX function from MATLAB code |
함수
codegen | Generate C/C++ code from MATLAB code |
도움말 항목
- Generate C Code at the Command Line (MATLAB Coder)
Generate C/C++ code from MATLAB code by using the
codegen
command. - Generate C Code by Using the MATLAB Coder App (MATLAB Coder)
Generate C/C++ code from MATLAB code by using the MATLAB Coder app.
- Specifying 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.