이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
라이브러리 개발
코드 대체 라이브러리 개발
코드 대체 사용자 지정이 무엇인지, 왜 하는지, 무엇을 교체할 수 있는지, 그리고 제한 사항은 무엇인지 알아봅니다. 코드 대체 라이브러리를 개발하기 위한 프로세스에 대해 알아봅니다. 대화형 방식으로 코드 대체 툴을 사용하여 라이브러리를 개발하거나 프로그래밍 방식으로 라이브러리를 개발합니다. Quick Start Library Development 힝목을 사용하여 프로세스와 툴을 실험해 보십시오.
툴
함수
도움말 항목
시작하기
- 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 MATLAB Code
Review lists of functions and operators the code generator can replace depending on the code replacement library that you specify. - Quick Start Library Development
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. - Array Layout and Code Replacement
Define code replacement mappings that specify data layout for storing array elements in memory. - Allow Shape Agnostic Match
Shape-agnostic matrix replacement for Embedded Coder CRL. - 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.
문제 해결
Troubleshoot Code Replacement Library Registration
If a code replacement library is not listed as a configuration option or does not appear in the Code Replacement Viewer, troubleshoot the library registration.
Troubleshoot Code Replacement Misses
Use miss reason messages that appear in the Code Replacement Viewer to analyze and correct code replacement misses.