DSP Blockset Release Notes    

Frame Support

Support for frame-based signals is also now provided natively within Simulink, which allows for straightforward propagation of frame-based data throughout a model.

Generating Frame-Based Signals

Frame-based signals are generated in much the same way that they were in previous DSP Blockset releases. In constant blocks such as DSP Constant or Constant Diagonal Matrix, the Frame-based output check box confers frame-based status when selected. In other source blocks, such as Signal From Workspace, Chirp, and Random Source, the output is frame based whenever the Samples per frame setting is greater than 1.

Note that 1-D vectors cannot be frame based. See the DSP Constant block reference for information about the interaction of the Frame-based output and Interpret vector parameters as 1-D parameters.

Processing Frame-Based Signals

Frame-based status is now propagated automatically throughout a model. Most blocks do not change the frame status of a signal; frame-based signals remain frame based, and sample-based signals remain sample based. The exceptions to this rule are blocks, like Buffer and Frame Status Conversion, that are specifically intended to alter the frame status of a signal.

Since frame status is now automatically detected by the new (Version 4.0) blocks, a frame-based output from an older block may need to be altered before you use it as an input to a new block, and vice versa. See Adding Release 12 Blocks to Release 11 Models for more information.

As mentioned above, the interpretation of sample-based and frame-based matrices is the same as in previous releases. An M-by-N sample-based matrix represents M*N independent channels, each containing one sample. An M-by-N frame-based matrix represents M consecutive samples from each of N independent channels. For convenience, certain vector-oriented blocks such as Autocorrelation treat sample-based 1-by-N matrices (i.e., row vectors) as N-by-1 matrices (i.e., column vectors). See the documentation for the particular block in which you are interested.

Simulink displays sample-based signals using a single line, , and frame-based signals using a double line, . The sample period (Ts) of a sample-based signal, or the frame period (Tf) of a frame-based signal, can be displayed by connecting a Probe block to the line. As always, the sample period of a frame-based signal is Tf / M, where M is the signal's frame size (i.e., the number of rows in the frame-based M-by-N matrix).


  Matrix Support New and Enhanced Blocks