이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
코드 생성 출력
특정 타깃 플랫폼에서 실행되는 코드를 생성하려면 모델의 코드 생성 출력을 구성하십시오. 다음 타깃 플랫폼에 맞는 코드 구성을 고려하십시오.
애플리케이션 개발 과정에서 MathWorks® 소프트웨어를 실행하는 MATLAB® 개발 컴퓨터.
신속 프로토타이핑 과정에서 사용자가 코드를 테스트하는 테스트 하드웨어.
생성 코드를 배포할 프로덕션 하드웨어.
코드 생성 출력은 사용자가 모델에 대해 지정한 시스템 타깃 파일(STF)과 언어에 의해 제어됩니다. 이러한 설정은 구성 파라미터 대화 상자와 코드 매핑 편집기에서 사용할 수 있는 코드 생성 옵션을 제어합니다. 이러한 옵션을 사용하여 생성된 코드가 타깃 하드웨어에서 실행되도록 구성하십시오.
앱
Simulink Coder | Generate and execute C and C++ code from Simulink models, Stateflow charts, and MATLAB functions for use in applications such as simulation acceleration, rapid prototyping, and hardware-in-the-loop (HIL) simulations |
함수
switchTarget | Select target for model configuration set |
도움말 항목
- Compare System Target File Support Across Products
Evaluate system target file support by product, code style, and generated code features.
- Configure a System Target File
Select and configure a solver and a system target file.
- Configure STF-Related Code Generation Parameters
Configure model parameters that relate to GRT, ERT, or ERT-based system target files for code generation.
- Configure Run-Time Environment Options
Set model simulation and code generation options for development and deployment run-time environments: MATLAB® development computer, production hardware, and test hardware.
- Select C or C++ Programming Language
Choose C or C++ as the programming language for code generation.
- Configure Language Standard for Target System
Configure standard library extensions that the code generator uses for math operations.