setFunctionName - Set function name in model-specific C function prototype

Syntax

setFunctionName(obj, fcnName)

Arguments

obj

Handle to a model-specific C prototype function control object previously returned by obj = RTW.ModelSpecificCPrototype or obj = RTW.getFunctionSpecification(modelName).

fcnName

String specifying a new name for the function described by the function control object. The argument must be a valid C identifier.

Description

The setFunctionName function sets the function name in the specified function control object.

See Also

Controlling model_step Function Prototypes in the Real-Time Workshop® Embedded Coder™ documentation

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS