getNumArgs

Get number of function arguments from model-specific C function prototype

Syntax

num = getNumArgs(obj)

Arguments

obj

Handle to a model-specific C prototype function control object, such as a handle previously returned by obj = RTW.getFunctionSpecification(modelName).

Returns

An integer specifying the number of function arguments.

Description

The getNumArgs function gets the number of function arguments for the function described by the specified model-specific C function prototype.

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