이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.
생성 코드 컴파일
생성된 소스 코드를 컴파일하고 오브젝트 코드를 링크하는 빌드 프로세스를 지정
소스 코드 생성 후에 실행 가능한 코드를 생성하려면 생성된 소스 코드를 컴파일하고 오브젝트 코드를 링크하는 빌드 프로세스를 지정하십시오. Simulink® 모델에서 생성하는 코드를 빌드하기 위해 CMake, 툴체인 또는 템플릿 makefile 방식을 사용할 수 있습니다. MATLAB®은 CMake 실행 파일을 제공합니다. 각각의 접근 방법에는 지원되는 빌드 툴의 설치가 필요합니다. 개발 환경에 맞게 빌드 프로세스를 사용자 지정하는 방법에 대한 자세한 내용은 코드 컴파일 사용자 지정 항목을 참조하십시오.
함수
도움말 항목
개요
- Simulink 모델로부터 생성된 건축 코드 구축을 위한 접근법
생성된 코드를 빌드하기 위해 CMake 툴체인, 메이크파일 기반 툴체인 또는 템플릿 메이크파일 접근법을 선택하십시오.
워크플로
- Configure CMake Build Process
Specify CMake toolchain definition for building generated code. - Configure Toolchain (ToolchainInfo) or Template Makefile Build Process
Build executable programs from generated code. - Add Build Process Dependencies
Add dependency information for external code to the build process. - Build Integrated Code Within the Simulink Environment
Add support files and control model code generation and builds within the Simulink Environment. - Build Process Workflow for Real-Time Systems
Generate C code from a model and build an executable program. - Rebuild a Model
Rebuild a model after customizing generated source code or makefiles. - Reduce Build Time for Referenced Models by Using Parallel Builds
Apply parallel builds to reduce build time for large model reference hierarchies. - Compile Code in Another Development Environment
Relocate generated code and compile in another environment. - Build Generated Code Remotely
Create a connection and build generated code on a remote computer. - Build Models from Windows Command Prompt
Build models by running MATLAB with a batch file.
문제 해결
Identify and fix issues that prevent compiler operation in the build process.