주요 콘텐츠

MATLAB 코드 준비

코드 생성 전에 MATLAB® 코드의 문제 식별 및 수정

MATLAB 코드에서 C/C++ 코드를 성공적으로 생성할 수 있을지 여부는 코드 생성 규칙 및 제한 사항을 준수하는지에 따라 결정됩니다. 예를 들어, MATLAB 코드는 코드 생성에 지원되는 함수와 객체만 사용해야 합니다. C/C++ 코드 생성 전에 MATLAB 코드 관련 문제를 식별하고 수정하기 위해 코드 분석기와 코드 생성 준비 툴을 사용할 수 있습니다.

함수

coder.screenerDetermine if function is suitable for code generation
getLineColumnFind locations of beginning and end of MATLAB code involved in code generation
textReportExport code generation readiness report to base workspace as a character vector (R2022a 이후)

속성

coder.CallSite Properties Information about a function call site in your MATLAB code (R2022a 이후)
coder.CodeFile PropertiesDescription of file containing text that is involved in code generation
coder.File PropertiesDescription of file without text that is involved in code generation
coder.Message PropertiesDescription of message produced during code generation readiness analysis or during code generation
coder.ScreenerInfo PropertiesCode generation readiness information (R2022a 이후)

도움말 항목

코드 생성 준비하기

문제 해결하기