Frame Conversion - Specify sampling mode of output signal

Library

Signal Management / Signal Attributes

dspsigattribs

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.

Dialog Box

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

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

BufferSignal Processing Blockset
Check Signal AttributesSignal Processing Blockset
Convert 1-D to 2-DSignal Processing Blockset
Convert 2-D to 1-DSignal Processing Blockset
Inherit ComplexitySignal Processing Blockset
UnbufferSignal Processing Blockset
ProbeSimulink
ReshapeSimulink
Signal SpecificationSimulink

  


 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS