MATLAB 类
代码加速中使用的 MATLAB® 类
您可以为 MATLAB 类转换代码,包括值类、句柄类和 System object。在用于算法加速或者定点转换的 MATLAB 代码中使用类时,您必须了解一些特定的使用说明和限制。
类
coder.ClassType | Represent set of MATLAB classes acceptable for input specification |
主题
- Generate Code for MATLAB Value Classes
Use a value class in MATLAB code intended for code generation.
- 为 MATLAB 句柄类和 System object 生成代码
在用于代码生成的 MATLAB 代码中使用您的 System object™。
- 用于代码生成的 MATLAB 类定义
在用于进行代码生成的 MATLAB 代码中使用类。
- Classes That Support Code Generation
Generate code for MATLAB value and handle classes and user-defined System objects.
- MATLAB 代码生成中的 System object
在 MATLAB 生成的代码中使用 System object 的特殊注意事项。
- Code Generation for Handle Class Destructors
Use a handle class destructor in MATLAB code intended for code generation.
疑难解答
Handle Object Limitations for Code Generation
Adhere to code generation restrictions for handle objects.