类自定义方法
了解自定义类行为的方式
您可以通过重载运算符、从 mixin 类继承以及重载 MATLAB® 函数来自定义类行为。
主题
- Introduction to Class Customization
Methods commonly defined for MATLAB methods.
- 运算符重载
通过重载这些函数来实现 MATLAB 运算符。
您可以通过重载运算符、从 mixin 类继承以及重载 MATLAB® 函数来自定义类行为。
Methods commonly defined for MATLAB methods.
通过重载这些函数来实现 MATLAB 运算符。