Main Content
matlab.lang.correction.ReplaceIdentifierCorrection Class
Namespace: matlab.lang.correction
Correct error by replacing identifier in function call
Description
Use ReplaceIdentifierCorrection
objects in functions that throw an
MException
object. MException
uses
ReplaceIdentifierCorrection
instances to display suggestions for incorrect
identifiers in function calls.
Creation
Description
ric = matlab.lang.correction.ReplaceIdentifierCorrection(
creates a correction that suggests replacing identifier
,replacement
)identifier
with
replacement
in the function call that threw the
MException
object.
Input Arguments
Examples
Version History
Introduced in R2019b