Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

알고리즘 설계 기본 사항

코드 생성을 위한 알고리즘 설계 관련 고려 사항, 생성된 코드의 동작

함수

coder.allowpcodeControl code generation from protected MATLAB files
coder.cevalCall external C/C++ function
coder.cincludeInclude header file in generated code
coder.cstructnameName C structure type in generated code
coder.extrinsicDeclare a function as extrinsic and execute it in MATLAB
coder.inlineControl inlining of a specific function in generated code
coder.loadLoad compile-time constants from MAT-file or ASCII file into caller workspace
coder.nullcopyDeclare uninitialized variables in code generation
coder.opaqueDeclare variable in generated code
coder.refIndicate data to pass by reference
coder.screenerDetermine if function is suitable for code generation
coder.rrefIndicate read-only data to pass by reference
coder.targetDetermine if code generation target is specified target
coder.unrollUnroll for-loop by making a copy of the loop body for each loop iteration
coder.varsizeDeclare variable-size data
coder.wrefIndicate write-only data to pass by reference
coder.updateBuildInfoUpdate build information object RTW.BuildInfo

클래스

coder.ExternalDependencyInterface to external code
coder.BuildConfigBuild context during code generation

예제 및 방법

개념

문제 해결

Unknown Output Type for coder.ceval

Define the output type for external C/C++ function calls.