Main Content

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

MATLAB 클래스

MATLAB® 클래스의 정의 및 사용, 코드 생성 시 차이점

블록

MATLAB FunctionInclude MATLAB code in models that generate embeddable C code
MATLAB SystemInclude System object in model

예제 및 방법

Generate Code for MATLAB Value Classes

Use a value class in MATLAB code intended for code generation.

Generate Code for MATLAB Handle Classes and System Objects

Use your System object™ in MATLAB code intended for code generation.

개념

MATLAB Classes Definition for Code Generation

Use classes in MATLAB code intended for code generation.

Classes That Support Code Generation

Generate code for MATLAB value and handle classes and user-defined System objects.

System Objects in MATLAB Code Generation

Special considerations for using System objects in code generated from MATLAB.

Code Generation for Handle Class Destructors

Use a handle class destructor in MATLAB code intended for code generation.

문제 해결

Class Does Not Have Property

Troubleshoot issues with assignment of a property of a handle class.

Handle Object Limitations for Code Generation

Adhere to code generation restrictions for handle objects.

Passing By Reference Not Supported for Some Properties

You cannot use certain properties with coder.ref, coder.rref, or coder.wref.