| Real-Time Workshop® Embedded Coder™ | ![]() |
Set argument name for Simulink® model port in model-specific C function prototype
setArgName(obj, portName, argName)
Handle to a model-specific C prototype function control object previously returned by obj = RTW.ModelSpecificCPrototype or obj = RTW.getFunctionSpecification(modelName).
String specifying the name of an inport or outport in your Simulink model.
String specifying the argument name to set for the specified Simulink model port. The argument must be a valid C identifier.
The setArgName function sets the argument name corresponding to a specified Simulink model inport or outport in a specified model-specific C function prototype.
Controlling model_step Function Prototypes in the Real-Time Workshop® Embedded Coder™ documentation
![]() | setArgCategory | setArgPosition | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |