deleteGlobalArg
R2026bClass: Simulink.CustomCode.FunctionPortSpecification
Namespace: Simulink.CustomCode
Description
CCallerObj.deleteGlobalArg(
deletes global arguments from a C Caller block. The
globalArgumentName)CCallerObj is an object of class
FunctionPortSpecification. To use this function in Simulink®, navigate to Configuration Parameters > Simulation Target > Import settings and check that the Automatically infer global variables as function
interfaces check box is not selected. Alternatively, from the command line,
use the set_param function and set
CustomCodeGlobalsAsFunctionIO to off for the
corresponding block. For more information, see Automatically infer
global variables as function interfaces
Input Arguments
Examples
Version History
Introduced in R2024b