이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
라이브러리 개발
코드 대체 라이브러리 개발
시작하려면 Identify Code Replacement Library Requirements 항목을 참조하십시오. 코드 대체 라이브러리를 개발하기 위한 프로세스에 대해 알아봅니다. 대화형 방식으로 코드 대체 툴을 사용하여 라이브러리를 개발하거나 프로그래밍 방식으로 라이브러리를 개발합니다. Quick Start Code Replacement Library Development - Simulink 항목을 사용하여 프로세스와 툴을 실험해 봅니다.
툴
함수
클래스
도움말 항목
시작하기
- What Is Code Replacement Customization?
Customize how and when the code generator replaces C/C++ code that it generates for functions and operators. - Code You Can Replace From Simulink Models
Review lists of functions and operators that the code generator can replace depending on the code replacement library. - Quick Start Code Replacement Library Development - Simulink
Develop a code replacement library that includes an entry for generating replacement code for a math function.
코드 대체 라이브러리 개발을 위한 워크플로우
- Develop a Code Replacement Library
Workflow for developing a code replacement library.
추가 제어를 위한 옵션
- Data Alignment for Code Replacement
Define code replacement mappings that align data for a replacement function to a specified boundary. - Reserved Identifiers and Code Replacement
C/C++ programming language reserved keywords as identifiers and function names in code replacement entries. - Remap Operator Output to Function Input
Meet specific generated code patterns by remapping operator outputs to input positions in your replacement function argument list. - Customize Match and Replacement Process
Add logic to the code replacement match and replacement process for functions or operators. - Optimize Generated Code by Using Multiple Code Replacement Libraries
Choose multiple code replacement libraries to generate code.
문제 해결
Troubleshoot Code Replacement Library Registration
Troubleshoot the library registration if a code replacement library is not listed as a configuration option or does not appear in the Code Replacement Viewer.
Troubleshoot Code Replacement Misses
Analyze and correct code replacement misses with miss reason messages that appear in the Code Replacement Viewer.