Products & Services Industries Academia Support User Community Company

Learn more about Real-Time Workshop   

Function Reference


Build Information Set up and manage model's build information
Build ProcessPerform build process steps
Embedded MATLAB Code GenerationGenerate embeddable C code or MEX code from M-file
Project DocumentationDocument generated code
Rapid SimulationGet model's parameter structures
Target Language Compiler and Function LibraryOptimize code generated for model's blocks

Build Information

addCompileFlagsAdd compiler options to model's build information
addDefinesAdd preprocessor macro definitions to model's build information
addIncludeFilesAdd include files to model's build information
addIncludePathsAdd include paths to model's build information
addLinkFlagsAdd link options to model's build information
addLinkObjectsAdd link objects to model's build information
addNonBuildFilesAdd nonbuild-related files to model's build information
addSourceFilesAdd source files to model's build information
addSourcePathsAdd source paths to model's build information
addTMFTokensAdd template makefile (TMF) tokens that provide build-time information for makefile generation
findIncludeFilesFind and add include (header) files to build information object
getCompileFlagsCompiler options from model's build information
getDefinesPreprocessor macro definitions from model's build information
getFullFileListAll files from model's build information
getIncludeFilesInclude files from model's build information
getIncludePathsInclude paths from model's build information
getLinkFlagsLink options from model's build information
getNonBuildFilesNonbuild-related files from model's build information
getSourceFilesSource files from model's build information
getSourcePathsSource paths from model's build information
packNGoPackage model code in zip file for relocation
RTW.getBuildDirBuild directory information for specified model
switchTargetSpecify target for configuration set
updateFilePathsAndExtensions Update files in model's build information with missing paths and file extensions
updateFileSeparator Change file separator used in model's build information

Build Process

rtw_precompile_libsBuild libraries within model without building model
rtwbuildInitiate build process
rtwrebuildRebuild generated code

Embedded MATLAB Code Generation

emlcGenerate embeddable C code from MATLAB code

Project Documentation

rtwreportGenerate report documenting the generated code for a model
rtwtraceTrace block to generated code

Rapid Simulation

rsimgetrtp Global model parameter structure
rsimsetrtpparam Set parameters of rtP model parameter structure

Target Language Compiler and Function Library

tlcInvokes Target Language Compiler to convert model description file to generated code.

See the TLC Function Library Reference in the Real-Time Workshop Target Language Compiler documentation for a list of Target Language Compiler functions.

  


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