Main Content
getLineColumn
Find locations of beginning and end of MATLAB code involved in code generation
Syntax
Description
[
returns the line and column indices of the first and last character of the MATLAB code that caused the code generation message described by
startLoc
,endLoc
] = getLineColumn(obj_message
)obj_message
.
[
returns the line and column indices of the first and last character of the function call
site described by startLoc
,endLoc
] = getLineColumn(obj_callsite
)obj_callsite
in the text of the file containing the
call.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2019a