rng_save
Save the Matlab default (global) random number generator state
Syntax
state = rng_save
Arguments
output
state current rng state
Description
Save the Matlab default (global) random number generator state. It may be restored later using rng_restore.
See also
rng | rng_seed | rng_restore