getGlobalArg
R2026bClass: Simulink.CustomCode.FunctionPortSpecification
Namespace: Simulink.CustomCode
Get object definition of global variable in C Caller block
Description
,
where GlobalArg = PortSpecObj.getGlobalArg(globalVariableName)PortSpecObj is an object of the class
FunctionPortSpecification, and creates a FunctionArgument object for the specified global argument.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2020b