이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
코드 생성 구성하기
R2026a출력 파일 이름, 위치, 유형, 언어와 같은 코드 생성 설정 구성
코드 생성 프로세스를 제어하고 구성하기 위한 많은 파라미터와 설정이 있습니다. 이러한 설정은 출력 빌드 유형(MEX, lib, dll 또는 exe)과 C 및 C++ 언어와 같은 특성을 제어합니다. 다른 구성 설정을 사용하면 가독성, 성능, 외부 코드 통합 등의 특정 요구 사항에 따라 생성 코드를 사용자 지정할 수 있습니다. 앱이나 명령줄에서 코드 생성 구성 객체의 구성 설정을 수정할 수 있습니다. coder.config를 사용하여 구성 객체를 생성할 수 있습니다. open을 사용하여 편집 앱에서 객체를 엽니다.
함수
coder.config | 코드 생성 구성 객체 만들기 |
코드 구성 설정
객체
coder.MexCodeConfig | Configuration parameters for MEX function generation from MATLAB code |
coder.CodeConfig | MATLAB 코드에서 C/C++ 코드를 생성하기 위한 구성 파라미터 |
coder.EmbeddedCodeConfig | Configuration parameters for C/C++ code generation from MATLAB code with Embedded Coder |
coder.HardwareImplementation | Hardware-specific configuration parameters for C/C++ code generation from MATLAB code |
coder.hardware | Create hardware board configuration object for C/C++ code generation from MATLAB code |
coder.ReplacementTypes | Configuration parameter to specify custom names for MATLAB built-in data types in C/C++ code generation |
도움말 항목
빌드 구성 기본 사항
- Configure Code Generation Settings
Configure code generation configuration parameters at the command line or in the MATLAB® Coder™ app. - Paths and File Infrastructure Setup
Specify location of custom code. - Build Process Support for File and Folder Names
Troubleshoot build process errors that occur when file system issues prevent file processing. - Share Configuration Settings
- Specify Code Configuration Parameters Interactively
Configure the code generation process by using the Code Generation Settings dialog box.
특정 빌드 옵션
- Understand and Control Partitioning of the Generated Code
Understand how file partitioning method and inlining settings interact to control the partitioning of the generated code. - Change Language Standard Used for Code Generation
The code generator uses the language standard that you specify in the build settings.