Main Content

Frame Conversion

(Removed) Specify sampling mode of output signal

The Frame Conversion block has been removed.

Library

Signal Management / Signal Attributes

dspsigattribs

  • Frame Conversion block

Description

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.

Parameters

Inherit output sampling mode from <Ref> input port

Select to enable the Ref port from which the block inherits the output sampling mode.

Sampling mode of output signal

Specify the sampling mode of the output signal, Frame-based or Sample-based.

Supported Data Types

PortSupported Data Types

In

  • Double-precision floating point

  • Single-precision floating point

  • Fixed point (signed only)

  • Boolean

  • 8-, 16-, and 32-bit signed integers

  • 8-, 16-, and 32-bit unsigned integers

  • Enumerated

Ref

  • Double-precision floating point

  • Single-precision floating point

  • Fixed point (signed only)

  • Boolean

  • 8-, 16-, and 32-bit signed integers

  • 8-, 16-, and 32-bit unsigned integers

  • Enumerated

Output

  • Double-precision floating point

  • Single-precision floating point

  • Fixed point (signed only)

  • Boolean

  • 8-, 16-, and 32-bit signed integers

  • 8-, 16-, and 32-bit unsigned integers

  • Enumerated

See Also

BufferDSP System Toolbox
Check Signal AttributesDSP System Toolbox
Inherit ComplexityDSP System Toolbox
UnbufferDSP System Toolbox
Probe (Simulink)Simulink
Reshape (Simulink)Simulink
Signal Specification (Simulink)Simulink

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced before R2006a