Specify sampling mode of output signal
Signal Management / Signal Attributes
dspsigattribs
The Frame Conversion block passes the input through to the output and sets the output
sampling mode to the value of the Sampling mode of output signal
parameter, which can be either Frame-based
or
Sample-based
. The output sampling mode can also be
inherited from the signal at the Ref (reference) input port, which you make visible by
selecting the Inherit output sampling mode from <Ref> input
port check box.
The Frame Conversion block does not make any changes to the input signal other than
the sampling mode. In particular, the block does not rebuffer or resize 2-D inputs.
Because 1-D vectors cannot be frame based, when the input is a
length-M 1-D vector and the block is in
Frame-based
mode, the output is a frame-based
M-by-1 matrix — that is, a single channel.
Select to enable the Ref port from which the block inherits the output sampling mode.
Specify the sampling mode of the output signal,
Frame-based
or
Sample-based
.
Port | Supported Data Types |
---|---|
In |
|
Ref |
|
Output |
|
Buffer | DSP System Toolbox |
Check Signal Attributes | DSP System Toolbox |
Convert 1-D to 2-D | DSP System Toolbox |
Convert 2-D to 1-D | DSP System Toolbox |
Inherit Complexity | DSP System Toolbox |
Unbuffer | DSP System Toolbox |
Probe (Simulink) | Simulink |
Reshape (Simulink) | Simulink |
Signal Specification (Simulink) | Simulink |