This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Repeating Sequence Interpolated

Output discrete-time sequence and repeat, interpolating between data points

  • Library:
  • Simulink / Sources

Description

The Repeating Sequence Interpolated block outputs a periodic discrete-time sequence based on the values in Vector of time values and Vector of output values parameters. Between data points, the block uses the method you specify for the Lookup Method parameter to determine the output.

Ports

Output

expand all

Output signal generated based on the values in the Vector of time values and Vector of output values parameters.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean | fixed point

Parameters

expand all

Main

Vector of output values that specify the output waveform. Each element corresponds to the time value in the Time valuesparameter.

Programmatic Use

Block Parameter: OutValues
Type: character vector
Values: vector
Default: [3 1 4 2 1].'

Specify the column vector containing time values. The time values must be strictly increasing, and the vector must have the same size as the vector of output values.

Programmatic Use

Block Parameter: TimeValues
Type: character vector
Values: vector
Default: [0 0.1 0.5 0.6 1].'

Specify the lookup method to determine the output between data points.

Programmatic Use

Block Parameter: LookUpMeth
Type: character vector
Values: 'Interpolation-Use End Values' | 'Use Input Nearest' | Use Input Below | Use Input Above
Default: 'Interpolation-Use End Values'

Specify the time interval between samples. To inherit the sample time, set this parameter to -1. See Specify Sample Time for more information.

Programmatic Use

Block Parameter: tsamp
Type: character vector
Values: scalar
Default: '0.01'

Signal Attributes

Lower value of the output range that Simulink® checks.

Simulink uses the minimum to perform:

Note

Output minimum does not saturate or clip the actual output signal. Use the Saturation block instead.

Programmatic Use

Block Parameter: OutMin
Type: character vector
Values: '[ ]'| scalar
Default: '[ ]'

Upper value of the output range that Simulink checks.

Simulink uses the maximum value to perform:

Note

Output maximum does not saturate or clip the actual output signal. Use the Saturation block instead.

Programmatic Use

Block Parameter: OutMax
Type: character vector
Values: '[ ]'| scalar
Default: '[ ]'

Choose the data type for the output. The type can be inherited, specified directly, or expressed as a data type object such as Simulink.NumericType.

Programmatic Use

Block Parameter: OutDataTypeStr
Type: character vector
Values: , 'Inherit: Inherit via back propagation', 'single', 'int8', 'uint8', int16, 'uint16', 'int32', 'uint32', fixdt(1,16,0), fixdt(1,16,2^0,0), fixdt(1,16,2^0,0). '<data type expression>'
Default: 'Double'

Select to lock the output data type setting of this block against changes by the Fixed-Point Tool and the Fixed-Point Advisor. For more information, see Use Lock Output Data Type Setting (Fixed-Point Designer).

Programmatic Use

Block Parameter: LockScale
Type: character vector
Values: 'off' | 'on'
Default: 'off'

Block Characteristics

Data Types

double | single | Boolean | base integer | fixed point

Direct Feedthrough

No

Multidimensional Signals

No

Variable-Size Signals

No

Zero-Crossing Detection

No

Extended Capabilities

PLC Code Generation
Generate Structured Text code using Simulink® PLC Coder™.

Fixed-Point Conversion
Convert floating-point algorithms to fixed point using Fixed-Point Designer™.

Introduced before R2006a