文档
类方法名
方法名称
方法(obj)
方法(___“完整的”)
方法(___)
例子
方法类名称显示类的方法名称类名称.如果类名称是一个MATLAB®或Java®类,然后方法只显示非隐藏的公共方法,包括从超类继承的方法。
方法类名称
类名称
方法
方法(obj)的类的方法名称obj.
obj
方法(___,“全部”)显示方法的完整描述,包括继承信息,以及(对于MATLAB和Java方法)方法属性和签名。此函数不删除具有不同签名的重复方法名。此选项不适用于MATLAB 7.6之前定义的类。
方法(___,“全部”)
“全部”
米=方法(___)返回字符向量单元格数组中的方法名称。
米=方法(___)
米
全部折叠
显示MException类的公共方法
方法MException
类MException的方法:addCause eq isequal rethrow throwAsCaller addCorrection getReport ne throw静态方法:last
构造一个java.lang.String对象,并显示该对象的公共方法的名称。
s = java.lang.String;方法(s);
类java.lang.String: String格式替换charAt getBytes replaceAll chars getChars replaceFirst codePointAt getClass split codePointBefore hashCode startsWith codePointCount indexOf lence codePoints intern子字符串compareTo isEmpty toCharArray compareToIgnoreCase join toLowerCase concat lastIndexOf toString包含长度toUpperCase contentEquals matches trim copyValueOf notify valueOf endsWith notifyAll wait = offsetByCodePoints equalsIgnoreCase regionMatches
列出MException类的公共方法并显示方法签名。
方法(“MException”,“全部”)
MException类的方法:MException scalar lhs1 addCause(MException scalar rhs1, MException scalar rhs2) varargout addCorrection(MException rhs1, Correction)逻辑标量lhs1 eq(MException scalar rhs1, MException scalar rhs2)逻辑lhs1 eq(MException rhs1, MException rhs2)逻辑lhs1 eq(MException rhs1, MException rhs2)逻辑lhs1 eq(rhs1, rhs2) unicodeString lhs1 getReport(MException scalar rhs1, asciiString rhs2, rhs3)逻辑标量lhs1 isequal(MException scalar rhs1, MException scalar rhs2)逻辑标量lhs1 isequal(MException rhs1, MException scalar rhs2)逻辑标量lhs1 isequal(MException rhs1, MException scalar rhs2)逻辑标量lhs1 isequal(MException rhs1, MException scalar rhs2)MException rhs2) logical scalar lhs1 isequal(rhs1, rhs2) Static MException scalar lhs1 last(asciiString rhs1) logical scalar lhs1 ne(MException scalar rhs1, MException scalar rhs2) logical lhs1 ne(MException rhs1, MException rhs2) logical lhs1 ne(MException rhs1, MException rhs2) rethrow(MException scalar rhs1) throw(MException scalar rhs1) throwAsCaller(MException scalar rhs1)
将MException类的公共方法的名称存储在单元格数组中。使用-full选项包括方法签名。
方法(“MException”,“全部”);
类名,指定为字符向量或字符串标量。
数据类型:字符|字符串
字符
字符串
显示方法的完整描述,包括输入和输出参数
数据类型:字符
方法名作为字符向量的单元格数组返回。
类的泛型方法微软®net框架.使用您的产品文档来获取关于通用方法的信息。
这个词方法也是一个MATLAB类定义关键字。看到classdef有关类定义关键字的更多信息。
classdef
这个函数报告来自所有方法目录的方法,并从列表中删除所有重复的方法名。
methodsview|属性
methodsview
属性
在您的系统中存在此示例的修改版本。您想要打开这个版本吗?
你点击了一个对应于这个MATLAB命令的链接:
在MATLAB命令窗口中输入命令来运行该命令。Web浏览器不支持MATLAB命令。金宝app
选择一个网站,在可用的地方获得翻译的内容,并查看当地的活动和优惠。根据您的地理位置,我们建议您选择:.
您也可以从以下列表中选择网站:
选择中国网站(中文或英文)以获得最佳的网站表现。其他MathWorks国家网站没有针对从您的位置访问进行优化。
联系当地办事处
现在就得到审判