attachToModel (Function Prototype Control) - Attach model-specific C function prototype to loaded ERT-based Simulink model

Syntax

attachToModel(obj, modelName)

Arguments

obj

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

modelName

String specifying the name of a loaded ERT-based Simulink model to which the object is going to be attached.

Description

The attachToModel function attaches a model-specific C function prototype to a loaded ERT-based Simulink model.

See Also

Controlling Model Function Prototypes in the Real-Time Workshop Embedded Coder documentation

  


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