本页面提供的是上一版软件的文档。当前版本中已删除对应的英文页面。
getPreDescriptionString
类: matlab.unittest.diagnostics.ConstraintDiagnostic
命名空间: matlab.unittest.diagnostics
返回在描述之前要显示的文本
语法
str = getPreDescriptionString(constDiag)
说明
str = getPreDescriptionString(
返回在描述之前要显示的文本。可以覆盖此方法,以在显示 constDiag
)ConstraintDiagnostic
的 Description
属性之前插入字符向量。此文本的位置与 Description
属性绑定在一起。不能保证它与其他字段的相对位置。
输入参数
|
|