Source blocks output frames of contiguous time samples but do not use frame attribute
Source blocks output frames of contiguous time samples but do not use the frame attribute. Frame processing is still supported. Starting in R2020a:
The Bernoulli Binary Generator and Random Integer Generator blocks now enable you to use the Upgrade Advisor. Use the Upgrade Advisor to update existing models that include the Bernoulli Binary Generator or Random Integer Generator block. You can update to the block version introduced in R2015b or keep the block version available in releases before to R2015b.
Simulink® no longer enables you to use versions of the Poisson Integer Generator, Barker Code Generator, Gold Sequence Generator, Hadamard Code Generator, Kasami Sequence Generator, OVSF Code Generator, PN Sequence Generator, or Walsh Code Generator blocks available in releases before to R2015b. Existing models automatically update to load the block version introduced in R2015b. For more information on block forwarding, see Maintain Compatibility of Library Blocks Using Forwarding Tables (Simulink).
The behavior of the random number generator for the Bernoulli Binary Generator and Poisson Integer Generator block has changed. The statistics have been improved.
For the Bernoulli Binary Generator, Poisson Integer Generator, and the Random Integer Generator blocks, the following changes were made:
Removed Frame-based outputs and Interpret vector parameters as 1–D parameters. Blocks always output a sample-based 2-D vector.
Introduced Source of initial seed parameter.
To use the default MATLAB® random number generator, leave the Source of initial seed parameter set to
Auto
. To set an initial seed, set Source of initial seed toParameter
and then set the Initial seed value.Behavior of the random number generator is changed. The statistics are improved.
For the Poisson Integer Generator block, the Lambda parameter is now Poisson parameter (lambda). For the Random Integer Generator block, the M-ary number parameter is now Set size.
The Frame-based outputs parameter was removed for these blocks:
Barker Code Generator
Gold Sequence Generator
Hadamard Code Generator
Kasami Sequence Generator
OVSF Code Generator
PN Sequence Generator
Walsh Code Generator
They always output sample-based 2-D vectors. These blocks can be upgraded using the Upgrade Advisor.