Documentation Center

  • Trial Software
  • Product Updates

Frame Status Conversion (Obsolete)

Specify frame status of output as sample based or frame based

Library

dspobslib

Description

    Note   The Frame Status Conversion block is still supported but is likely to be obsoleted in a future release. We strongly recommend replacing this block with the Frame Conversion block.

The Frame Status Conversion block passes the input through to the output, and sets the output frame status to the Output signal parameter, which can be either Frame-based or Sample-based. The output frame status can also be inherited from the signal at the Ref (reference) input port, which is made visible by selecting the Inherit output frame status from Ref input port check box.

When the Output signal parameter setting or the inherited signal's frame status differs from the input frame status, the block changes the input frame status accordingly, but does not otherwise alter the signal. 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 Output signal parameter is set to Frame-based, the output is a frame-based M-by-1 matrix (that is, a single channel).

When the Output signal parameter or the inherited signal's frame status matches the input frame status, the block passes the input through to the output unaltered.

Dialog Box

Inherit output frame status from Ref input port

When selected, enables the Ref input port from which the block inherits the output frame status.

Output signal

The output frame status, 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

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

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

See Also

Check Signal AttributesDSP System Toolbox
Convert 1-D to 2-DDSP System Toolbox
Convert 2-D to 1-DDSP System Toolbox
Inherit ComplexityDSP System Toolbox

Was this topic helpful?