이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
MATLAB에서 고정소수점 코드 생성
코드를 생성하려면 MATLAB Coder 제품이 있어야 합니다. 코드 생성에 대한 정보는 MATLAB Coder 문서를 참조하십시오.
도움말 항목
- Ways to Generate Code
Discusses using Fixed-Point Designer™ software with code generation.
- Workflow for Fixed-Point Code Acceleration and Generation
Describes the steps required for preparing MATLAB code and converting it to a MEX function.
- Functions Supported for Code Acceleration or C Code Generation
Lists the Fixed-Point Designer features supported by code generation from MATLAB.
- Code Generation with MATLAB Coder
Introduces you to the MATLAB Coder product.
- Code Generation for Constants in Structures and Arrays
Sometimes the code generator does not recognize constant structure fields or array elements.
- Control Data Types and Generate Code with MATLAB Function Block
Use data type override and
fimath
objects with the MATLAB Function block. - Generate Fixed-Point FIR Code Using MATLAB Function Block
Create and generate code for a fixed-point, low-pass, direct form FIR filter.
- Avoid Multiword Operations in Generated Code
This example shows how to avoid multiword operations in generated code by using the
accumpos
function instead of simple addition in your MATLAB algorithm. - Find Potential Data Type Issues in Generated Code
Highlight potential data type issues in report.
문제 해결
If your C compiler reports a run-time stack overflow, set the value of the maximum stack usage parameter to be less than the available stack size.
Tips for Making Generated Code More Efficient
Describes techniques which can be used to make generated code more efficient.
Data types supported for simulation and code generation.