Skip to Main Content Skip to Search
Product Documentation

legacychannelsim - Toggles random number generation mode for channel objects

Syntax

b = legacychannelsim
legacychannelsim(true)
legacychannelsim(false)
oldmode = legacychannelsim(newmode)

Description

b = legacychannelsim returns FALSE if the R2009b and later versions of random number generator is used by rayleighchan, ricianchan, or mimochan functions are used, which is the default. It returns TRUE if pre-R2009b versions are used. See Version 4.4. (R2009b) Communications System Toolbox Release Notes for more information.

legacychannelsim(true) reverts the random number generation mode for channel objects to pre-2009b version.

legacychannelsim(false) sets the random number generation mode for channel objects to 2009b and later versions.

oldmode = legacychannelsim(newmode) sets the random number generation mode for channel objects to NEWMODE and returns the previous mode, OLDMODE.

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

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