Real-Time Workshop User's Guide    

Index


Ada code format
Ada Coder
applications of
blocks supported by
code validation
compilers supported by
data logging
signal properties
targets supported by
application modules
application-specific components
definition of
system-independent components
atomic subsystem
automatic S-function generation
See also S-function target

Block reduction optimization
block target file
blocks
Asynchronous Buffer
Asynchronous Interrupt
depending on absolute time
device driver
nonvirtual
Rate Transition
Scope
S-Function <1> <2>
Task Synchronization
To File
To Workspace
Unit Delay
virtual
Zero-Order Hold
Build button
Build command
build directory
contents of <1> <2>
naming convention <1> <2>
build process
and code generation
overview
steps in

code format
Ada
choosing
definition of
embedded C <1> <2>
real-time
real-time malloc
S-function <1> <2>
code generation
and simulation parameters
automatic
from nonvirtual subsystems
TLC variables for
tutorial
code generation options
advanced
Block reduction
Boolean logic signals
External mode
Force generation of parameter comments
general
Inline invariant signals
Inline parameters
Local block outputs
See also Signal storage reuse
Loop rolling threshold
MAT-file variable name modifier
Retain .rtw file
Show eliminated statements
Signal storage reuse
See also Local block outputs
Solver page
target specific
TLC debugging
Verbose builds
Workspace I/O page
code tracing
code validation
in Ada Coder
tutorial
combining models
via ERT target
via grt_malloc target
via S-function target
communication
external mode
external mode API for
continuous states, integration of
Custom Code library
Custom Subsystem Code sublibrary
overview
custom target configuration
components of
tutorial

data logging
in Ada Coder
in single- and multitasking models
to MAT-files <1> <2>
tutorial
via Scope blocks
example
via To File blocks
via To Workspace blocks
data structures in generated code
block I/O
block parameters
block states
external inputs
external outputs
real-time object
device driver blocks
building
creating custom
DOS
inlined
example
mdlRTW function in
requirements for
when to inline
limitations of
noninlined
conditional compilation of
required defines and includes
required functions
parameterizing
requirements for
S-function wrappers for
VxWorks
directories
build
in build process
working
DOS
Analog Input (ADC) block parameters
Analog Output (DAC) block parameters
building programs
device driver blocks <1> <2> <3>
adding to model
Digital Input block parameters
Digital Output block parameters
hardware requirements
implementation overview
interrupt service routine
Keithley Metrabyte board I/O driver
modifying program timing
program timing
sample rate limits
software requirements
system configuration
DOS Device Drivers library
doslib block library

embedded real-time (ERT) target
code generation options
code modules
generated
header files
main program
user-written
data structures
logging object
real-time object
model entry points
calling directly
modifying main program
modifying rt_OneStep
multiple models in
optimizations in
optimizing generated code
program execution
main program
multirate operation
reentrancy in
rt_OneStep
servicing timer interrupts
single-rate operation
requirements
restrictions
system target files
template makefiles
unsupported blocks
ERT. See embedded real-time target
Euler integration algorithm
expressions
tunable
in masked subsystems
limitations on
ext_comm MEX-file
external mode <1> <2>
API
host source files
implementing transport layer
target source files
architecture <1> <2>
blocks compatible with
code generation option <1> <2>
command line options for target program
communications overview
configuring to use sockets
control panel <1> <2>
download mechanism
error conditions
ext_comm MEX-file <1> <2>
optional arguments to
rebuilding
host and target systems in
limitations of
Signal Viewing Subsystems in
TCP implementation
tutorial
using with VxWorks

files
generated See generated files

generated code
operations performed by
generated files
model (UNIX executable)
model.c
model.exe
model.exe (PC executable)
model.h
model.mdl
model.mk
model.rtw
model_export.h
generated s-functions
tunable parameters in
generic real-time (GRT) target
tutorial

host
and target
in external mode

installation
interrupt service routine
locking and unlocking
under DOS <1> <2>
under VxWorks
Interrupt Templates library

libraries
DOS Device Drivers
Interrupt Templates
VxWorks support
Local block outputs option

make command
make utility
make_rtw <1> <2> <3>
MAT-files
file naming convention
loading
logging data to <1> <2>
variable names in
MATLAB
required for Real-Time Workshop
mdlRTW function
model code
customizing
execution of
operations performed by
model execution
in real time
in Simulink
Simulink vs. real-time
Model Parameter Configuration dialog
tunable parameters and
using
model registration function
multitasking
building program for
enabling
task identifiers in
task priorities
versus singletasking

nonvirtual blocks
nonvirtual subsystems
atomic
categories of
conditionally executed
modularity of code generated from

operating system
tasking primitives <1> <2>
VxWorks

parameters
interfacing
storage declarations
storage of
tunable
priority
of sample rates
of VxWorks tasks
program architecture
data logging functions
embedded
initialization functions <1> <2>
main function
model execution <1> <2>
model execution functions
program execution
program termination
program timing
rapid prototyping
real-time
termination functions
pseudomultitasking

rapid prototyping
for control systems
for digital signal processing
overview of process
rapid simulation target
batch simulations (Monte Carlo)
command line options
real time
executing models in
integrating continuous states in
real-time malloc target
combining models with
real-time object
See also embedded real-time (ERT) target
Real-Time Workshop
open architecture of
user interface
Real-Time Workshop page
Category menu
opening
overview
Target configuration options
Browse button
Build button
Generate code only option
Make command field
System target file field
Template makefile field
rsim. See rapid simulation target
run-time interface modules

sample rate transitions
faster to slower
in real-time
in Simulink
slower to faster
in real-time
in Simulink
sample time overlaps
S-function target <1> <2>
applications of
automatic S-function generation
generating reusable components with
intellectual property protection in
restrictions
tunable parameters in
unsupported blocks
S-functions
API
generating automatically
models containing
noninlined
Signal Properties dialog box
assigning storage classes in
declaring test points in
Signal storage reuse option
Signal Viewing Subsystems
signals
block I/O data structure for
interfacing <1> <2>
naming conventions for
storage
storage classes for
storage optimizations
test points
simstruc.h
contents of
SimStruct data structure
and global registration function
definition of
Simulation Parameters dialog
Advanced page
Diagnostics page
Real-Time Workshop page
Solver Options page
Workspace I/O page
Simulink
interactions with Real-Time Workshop
block execution order
data propagation
sample time propagation
required for Real-Time Workshop
simulation parameters and code generation
singletasking
building program for
enabling
step size
of real-time continuous system
StethoScope
See VxWorks
storage classes
of parameters
of signals
of tunable parameters
subsystem
nonvirtual
system records
system target file <1> <2>
System Target File Browser
targets available from

target
available configurations
bundled
custom
table of
third-party
custom configuration
DOS
embedded real-time See embedded real-time (ERT) target
generic real-time See generic realtime (GRT) target
rapid simulation See rapid simulation target
real-time malloc See real-time malloc target
S-function See S-function target
Tornado See VxWorks
Target Language Compiler
code generation variables
debugging options
files
block target
system target
function library
generation of code by
task identifier (tid)
in rt_OneStep
template makefile
compiler-specific
default <1> <2>
defined
options
Borland
LCC
UNIX
Visual C/C++ <1> <2>
Watcom
structure of
tokens
test points,declaring
tokens
Tornado See VxWorks
tutorials
building generic real-time program
code generation
code validation
creating custom target configuration
data logging
external mode

virtual blocks
VxWorks
and external mode
application overview
configuring
for external mode (sockets)
makefile template
connecting target to Ethernet
downloading and running the executable interactively
external mode options
GNU tools for
implementation overview
program build options
program execution
program monitoring
real-time operating system
runtime structure
StethoScope code generation option
support library
target
connecting to
downloading to
target CPU
tasks created by
template makefiles

working directory

Glossary