getArgName

Get argument name for Simulink® model port from model-specific C function prototype

Syntax

argName = getArgName(obj, portName)

Arguments

obj

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

portName

String specifying the name of an inport or outport in your Simulink model.

Returns

String specifying the argument name for the specified Simulink model port.

Description

The getArgName function gets the argument name corresponding to a specified Simulink model inport or outport from a 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