matlab.lang.correction.ReplaceIdentifierCorrection 类
命名空间: matlab.lang.correction
通过替换函数调用中的标识符来更正错误
描述
在抛出 MException 对象的函数中使用 ReplaceIdentifierCorrection 对象。MException 使用 ReplaceIdentifierCorrection 实例来显示针对函数调用中不正确标识符的建议。
创建对象
描述
ric = matlab.lang.correction.ReplaceIdentifierCorrection( 创建一项更正,建议将 identifier,replacement)identifier 替换为在引发 MException 对象的函数调用中的 replacement。
输入参量
示例
版本历史记录
在 R2019b 中推出