User`s guide
6 Target Object Reference
6-4
Target Object Properties
Target object properties let you access information from your target application
and control its execution. You can view and change these properties using
target object methods.
The properties for a target object are listed in the following table. This table
includes a description of the properties and which properties you can change
directly by assigning a value.
Table 6-1: List of Target Object Properties
Property Description Write
Connected
Communication status between the host PC
and the target PC. Values are ’Yes’ or ’No’.
Application
Name of the Simulink model and target
application build from that model.
Mode
Type of Real-Time Workshop code generation.
Values are
’Real-Time Singletasking’,
’Real-Time Multitasking’
, or
’Accelerate’
. The default value is
’Real-Time Singletasking’.
Note Even if you select Real-Time
Multitasking, the actual mode can be
Real-Time Singletasking. This happens if your
model contains only one or two tasks and the
sample rates are equal.
Status
Execution status of your target application.
Values are
’stopped’ or ’running’.
CPUoverload
CPU status for overload. If the target
application requires more CPU time than the
sample time of the model, this value is set
from
’none’ to ’detected’ and the current
run is stopped
. Correcting CPUoverload
requires either a faster processor or a larger
sample time.