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