Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop Embedded Coder   

Configuring Model Function Prototypes Programmatically

You can use the function prototype control functions (listed in Function Prototype Control Functions), to programmatically control model function prototypes. Typical uses of these functions include:

Function Prototype Control Functions

FunctionDescription
RTW.ModelSpecificCPrototype.addArgConfAdd step function argument configuration information for Simulink model port to model-specific C function prototype
RTW.ModelSpecificCPrototype.attachToModelAttach model-specific C function prototype to loaded ERT-based Simulink model
RTW.ModelSpecificCPrototype.getArgCategoryGet step function argument category for Simulink model port from model-specific C function prototype
RTW.ModelSpecificCPrototype.getArgNameGet step function argument name for Simulink model port from model-specific C function prototype
RTW.ModelSpecificCPrototype.getArgPositionGet step function argument position for Simulink model port from model-specific C function prototype
RTW.ModelSpecificCPrototype.getArgQualifierGet step function argument type qualifier for Simulink model port from model-specific C function prototype
RTW.ModelSpecificCPrototype.getDefaultConfGet default configuration information for model-specific C function prototype from Simulink model to which it is attached
RTW.ModelSpecificCPrototype.getFunctionNameGet function names from model-specific C function prototype
RTW.ModelSpecificCPrototype.getNumArgsGet number of step function arguments from model-specific C function prototype
RTW.ModelSpecificCPrototype.getPreviewGet model-specific C function prototype code previews
RTW.configSubsystemBuildLaunch GUI to configure C function prototype or C++ encapsulation interface for right-click build of specified subsystem
RTW.getFunctionSpecificationGet handle to model-specific C function prototype object
RTW.ModelSpecificCPrototype.runValidationValidate model-specific C function prototype against Simulink model to which it is attached
RTW.ModelSpecificCPrototype.setArgCategorySet step function argument category for Simulink model port in model-specific C function prototype
RTW.ModelSpecificCPrototype.setArgNameSet step function argument name for Simulink model port in model-specific C function prototype
RTW.ModelSpecificCPrototype.setArgPositionSet step function argument position for Simulink model port in model-specific C function prototype
RTW.ModelSpecificCPrototype.setArgQualifierSet step function argument type qualifier for Simulink model port in model-specific C function prototype
RTW.ModelSpecificCPrototype.setFunctionNameSet function names in model-specific C function prototype

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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