coder.CallSite - Information about a function call site in your MATLAB code - MATLAB (original) (raw)
Main Content
coder.CallSite Properties
Information about a function call site in your MATLAB code
Since R2022a
The coder.CallSite
properties contain information about a function call site in your MATLAB® code, including the name of the callee, the name of the source file that contains the call, and the start and end index of the call in the source file string. Allcoder.CallSite
properties are read-only. You can use the dot notation to query these properties.
You do not directly create a coder.CallSite
object. Acoder.ScreenerInfo
object (that you create by using the coder.screener function) contains a coder.CallSite
object for each call to a function that is not supported for code generation.
CalleeName
— Name of the callee
character vector
This property is read-only.
Name of the function your MATLAB code calls, specified as a character vector.
File
— File containing the function call
coder.CodeFile
object
This property is read-only.
Description of the .m
or .mlx
file containing the function call, specified as a coder.CodeFile
object. Seecoder.CodeFile Properties.
StartIndex
— Start index of the function call
double
This property is read-only.
1-based index of the first character of the function call in the file string.
To manually inspect the code, the line and column numbers corresponding toStartIndex
are useful. Use the getLineColumn function to obtain that information.
EndIndex
— End index of the function call
double
This property is read-only.
1-based index of the last character of the function call in the file string.
To manually inspect the code, the line and column numbers corresponding toEndIndex
are useful. Use the getLineColumn function to obtain that information.
Version History
Introduced in R2022a