Main Content

coder.CallSite Properties

Information about a function call site in your MATLAB code

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. All coder.CallSite properties are read-only. You can use the dot notation to query these properties.

You do not directly create a coder.CallSite object. A coder.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.

This property is read-only.

Name of the function your MATLAB code calls, specified as a character vector.

This property is read-only.

Description of the .m or .mlx file containing the function call, specified as a coder.CodeFile object. See coder.CodeFile Properties.

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 to StartIndex are useful. Use the getLineColumn function to obtain that information.

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 to EndIndex are useful. Use the getLineColumn function to obtain that information.

Version History

Introduced in R2022a