Using Simulink Previous page   Next Page

Signal Properties Dialog Box

The Signal Properties dialog box lets you display and edit signal properties. To display the dialog box, either

The Signal Properties dialog box appears.

The dialog box includes the follow controls.

Signal name

Name of signal.

Signal name must resolve to a Simulink signal object.

Specifies that the MATLAB workspace must contain a Simulink.Signal object with the same name as this signal. Simulink displays an error message if it cannot find such an object when you update or simulate the model containing this signal.

Show propagated signals

Show propagated signal names. You can select one of the following options:

Option
Description
off
Do not display signals represented by a virtual signal in the signal's label.
on
Display the virtual and nonvirtual signals represented by a virtual signal in the signal's label. For example, suppose that virtual signal s1 represents a nonvirtual signal s2 and a virtual signal s3. If this option is selected, the label for s1 is s1<s2, s3>.
all
Display all the nonvirtual signals that a virtual signal represents either directly or indirectly. For example, suppose that virtual signal s1 represents a nonvirtual signal s2 and a virtual signal s3 and virtual signal s3 represents nonvirtual signals s4 and s5. If this option is selected, the label for s1 is s1<s2,s4,s5>.

Logging and Accessibility Options

Select the Logging and accessibility tab on the Signal Properties dialog box to display controls that enable you to specify signal logging and accessibility options for this signal.

Log signal data

Select this option to cause Simulink to save this signal's values to the MATLAB workspace during simulation (see Logging Signals).

Test point

Select this option to designate this signal as a test point (see Signal Properties Dialog Box).

Logging name

This pair of controls, consisting of a list box and an edit field, specifies the signal's logging name, i.e., the name under which to be used to retrieve the data that Simulink logs for this signal during simulation.

Simulink uses the signal's signal name as its logging name by default. To specify a custom logging name, select Custom from the list box and enter the custom name in the adjacent edit field.

Data

This group of controls enables you to limit the amount of data that Simulink logs for this signal.

The options are

Limit data points to last.   Discard all but the last N data points where N is the number entered in the adjacent edit field.

Decimation.   Log every Nth data point where N is the number entered in the adjacent edit field. For example, suppose that your model uses a fixed-step solver with a step size of 0.1 s. if you select this option and accept the default decimation value (2), Simulink records data points for this signal at times 0.0, 0.2, 0.4, etc.

Real-Time Workshop Options

The following controls set properties used by Real-Time Workshop to generate code from the model. You can ignore them if you are not going to generate code from the model.

RTW storage class

Select the storage class of this signal from the list. See the Real-Time Workshop User's Guide for an explanation of the listed options.

RTW storage type qualifier

Select the storage type of this signal from the list. See the Real-Time Workshop User's Guide for more information.


Previous page  Accessing Logged Signal Data Documentation Options Next page

© 1994-2005 The MathWorks, Inc.