| Using Simulink | ![]() |
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
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
| Note This option appears only for signals that originate from a virtual block other than a Bus Selector block. |
Show propagated signal names. You can select one of the following options:
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.
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.
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.
| Accessing Logged Signal Data | Documentation Options | ![]() |
© 1994-2005 The MathWorks, Inc.