이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.
소스 코드 생성
함수 배포 및 통합을 위해 소스 코드 모듈을 생성하고 검증
소스 코드 생성을 시작하는 방법과 코드 생성기가 생성하는 파일과 폴더에 대해 알아봅니다. 대규모 프로젝트를 구성하려면 코드 생성 프로젝트 템플릿을 사용하십시오. 프로젝트는 필요한 파일을 찾고, 파일과 설정을 관리하고 공유하고, 소스 컨트롤과 상호 작용하고, 제어기 코드를 생성하고, 테스트 하네스 시뮬레이션을 실행하는 데 도움이 됩니다.
Generate Code by Using the Quick Start Tool 항목부터 시작해 볼 수 있습니다.
앱
| Embedded Coder | 대량 생산에 사용되는 임베디드 프로세서를 위한 가독성 높고, 간결하며, 빠른 C 및 C++ 코드 생성 |
함수
도움말 항목
코드 생성
- Generate Code by Using the Quick Start Tool
Prepare a model for quickly generating readable, efficient code. - Increase Code Generation Speed
Alter a model to increase the speed at which the code generator generates code. - Embedded Coder를 사용하여 코드 생성
Simulink® 모델의 타깃 시스템을 선택하고, 옵션을 구성하며, 임베디드 시스템용 C 코드를 생성하고, 생성된 파일을 확인합니다. - Internationalization and Code Generation
Internationalization support for enabling efficient globalization. - What Is Code Replacement?
Why and how to replace code. Code replacement libraries that MathWorks provides. Contents of a code replacement library and how the code generator uses the contents. Terminology and limitations. - Replace Code Generated from Simulink Models
This example shows how to replace generated code by using a code replacement library. - Control Regeneration of Top Model Code
Choose options for regenerating code for the top-level model. - Set Up Model for Controlling Program Execution
Set up a model so that you can start and stop program execution for logging output, monitoring data, and tuning parameters. - Configure Model for Debugging
Configure a model so that generated code and the build process are set for debugging.
프로젝트에서 코드 생성
- Generate Code and Simulate Models in a Project
This example shows how to use the code generation template for a new Project. - Generate Code and Simulate Models Programmatically with Project
This example shows how to use the Project API to create a new project and automate project tasks for manipulating files.
코드 생성 파일 및 폴더
- 빌드 프로세스 폴더 관리
코드 생성기가 생성하는 폴더를 관리합니다. - Manage Build Process Files
Work with generated source files and dependency files that the code generator produces. - Manage Build Process File Dependencies
Work with generated source files and dependency files that the code generator produces. - Build Process Support for File and Folder Names
Troubleshoot build process errors that occur when file system issues prevent file processing. - 생성된 코드 모듈의 파일 패키징 관리
코드 생성기를 사용하여 코드 모듈과 헤더 파일을 생성합니다.
코드 생성 튜토리얼
- Develop and Deploy Embedded Software Components to Platform Services by Using Embedded Coder
Manage a code generation workflow from model preparation to code deployment.
- 단계 1: Prepare Models for Code Generation
- 단계 2: Configure Basic Code Generation Settings
- 단계 3: Define the Interfaces Between the Generated Code and Your Deployment Platform
- 단계 4: Apply Code and Deployment Configurations to Models
- 단계 5: Call Existing Code from a Model and Generated Code
- 단계 6: Optimize the Generated Code
- 단계 7: Test the Generated Code
- 단계 8: Deploy the Generated Code
Simulink Support Package for Rust Code를 사용한 Rust 바인딩
- Generate Rust Bindings for Simulink Generated C Code
Learn how to generate Rust® bindings for C code generated from a Simulink model using the Rust wrapper API.
