View full documentation for this product with your MathWorks Account.

Login now or create an account. You gain additional benefits such as trial software downloads, online service requests and tracking, and bug reports.

  

Function Reference


AUTOSAR — Methods of arxml.importerControl AUTOSAR component configuration for import into Simulink® models
AUTOSAR — Methods of RTW.AutosarInterfaceControl AUTOSAR component configuration for code generation and XML file export from Simulink® models
Function Prototype ControlControl step function prototypes in generated code for ERT-based Simulink® models
Model Entry PointsAccess entry points in generated code for ERT-based Simulink® models
System Target File Callback InterfaceControl Real-Time Workshop® configuration options in callbacks for ERT-based custom targets
Target Function Library Table CreationCreate function replacement tables that make up Real-Time Workshop® target function libraries (TFLs)

AUTOSAR — Methods of arxml.importer

createComponentAsModelCreate AUTOSAR atomic software component as Simulink® model
createComponentAsSubsystemCreate AUTOSAR atomic software component as Simulink® atomic subsystem
getComponentNamesGet atomic software component names
getDependenciesGet list of XML dependency files
getFileReturn XML file name for arxml.importer object
importerConstruct arxml.importer object
setDependenciesSet XML file dependencies
setFileSet XML file name for arxml.importer object

AUTOSAR — Methods of RTW.AutosarInterface

addIOConf Add AUTOSAR I/O configuration to a model
attachToModel (AUTOSAR)Attach RTW.AutosarInterface object to model
getComponentNameGet XML component name
getDataTypePackageNameGet XML data type package name
getDefaultConf (AUTOSAR)Get default configuration
getImplementationNameGet XML implementation name
getInitEventNameGet initial event name
getInitRunnableNameGet initial runnable name
getInterfacePackageNameGet XML interface package name
getInternalBehaviorNameGet XML internal behavior name
getIOAutosarPortNameGet I/O AUTOSAR port name
getIODataAccessModeGet I/O data access mode
getIODataElementGet I/O data element name
getIOInterfaceNameGet I/O interface name
getPeriodicEventNameGet periodic event name
getPeriodicRunnableNameGet periodic runnable name
getPortDefaultConfGet port default configuration
runValidation (AUTOSAR)Validate RTW.AutosarInterface object against model
setComponentNameSet XML component name
setInitEventNameSet initial event name
setInitRunnableNameSet initial runnable name
setIOAutosarPortNameSet AUTOSAR port name
setIODataAccessModeSet I/O data access mode
setIODataElementSet I/O data element
setIOInterfaceNameSet I/O interface name
setPeriodicEventNameSet periodic event name
setPeriodicRunnableNameSet periodic runnable name
syncWithModelSynchronize configuration with model

Function Prototype Control

addArgConfAdd argument configuration information for Simulink® model port to model-specific C function prototype
attachToModel (Function Prototype Control)Attach model-specific C function prototype to loaded ERT-based Simulink® model
getArgCategoryGet argument category for Simulink® model port from model-specific C function prototype
getArgNameGet argument name for Simulink® model port from model-specific C function prototype
getArgPositionGet argument position for Simulink® model port from model-specific C function prototype
getArgQualifierGet argument type qualifier for Simulink® model port from model-specific C function prototype
getDefaultConf (Function Prototype Control)Get default configuration information for model-specific C function prototype from Simulink® model to which it is attached
getFunctionNameGet function name from model-specific C function prototype
getNumArgsGet number of function arguments from model-specific C function prototype
getPreviewGet model-specific C function prototype code preview
RTW.getFunctionSpecificationGet handle to a model-specific C prototype function control object
runValidation (Function Prototype Control)Validate model-specific C function prototype against Simulink® model to which it is attached
setArgCategorySet argument category for Simulink® model port in model-specific C function prototype
setArgNameSet argument name for Simulink® model port in model-specific C function prototype
setArgPositionSet argument position for Simulink® model port in model-specific C function prototype
setArgQualifierSet argument type qualifier for Simulink® model port in model-specific C function prototype
setFunctionNameSet function name in model-specific C function prototype

Model Entry Points

model_initializeInitialization entry point in generated code for ERT-based Simulink® model
model_SetEventsForThisBaseStepSet event flags for multirate, multitasking operation before calling model_step for ERT-based Simulink® model
model_stepStep routine entry point in generated code for ERT-based Simulink® model
model_terminateTermination entry point in generated code for ERT-based Simulink® model

System Target File Callback Interface

slConfigUIGetValReturn current value for custom target configuration option
slConfigUISetEnabledEnable or disable custom target configuration option
slConfigUISetValSet value for custom target configuration option

Target Function Library Table Creation

addAdditionalHeaderFileAdd additional header file to array of additional header files for TFL table entry
addAdditionalIncludePathAdd additional include path to array of additional include paths for TFL table entry
addAdditionalLinkObjAdd additional link object to array of additional link objects for TFL table entry
addAdditionalLinkObjPathAdd additional link object path to array of additional link object paths for TFL table entry
addAdditionalSourceFileAdd additional source file to array of additional source files for TFL table entry
addAdditionalSourcePathAdd additional source path to array of additional source paths for TFL table entry
addConceptualArgAdd conceptual argument to array of conceptual arguments for TFL table entry
addEntryAdd table entry to collection of table entries registered in TFL table
copyConceptualArgsToImplementationCopy conceptual argument specifications to matching implementation arguments for TFL table entry
createAndAddConceptualArgCreate conceptual argument from specified properties and add to conceptual arguments for TFL table entry
createAndAddImplementationArgCreate implementation argument from specified properties and add to implementation arguments for TFL table entry
createAndSetCImplementationReturnCreate implementation return argument from specified properties and add to implementation for TFL table entry
getTflArgFromStringCreate TFL argument based on specified name and built-in data type
registerCFunctionEntryCreate TFL function entry based on specified parameters and register in TFL table
registerCPromotableMacroEntryCreate TFL promotable macro entry based on specified parameters and register in TFL table (for abs function replacement only)
setReservedIdentifiersRegister specified reserved identifiers to be associated with TFL table
setTflCFunctionEntryParametersSet specified parameters for function entry in TFL table
setTflCOperationEntryParametersSet specified parameters for operator entry in TFL table
  


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