Documentation

set (RandStream)

Set random number stream property

Class

RandStream

Syntax

set(stream,'PropertyName',Value)
集(流,Property1, Value1, Property2',Value2,...)
set(stream,A)
A = set(stream,'Property')
set(stream,'Property')
A = set(stream)
set(stream)

Description

set(stream,'PropertyName',Value)sets the property'PropertyName'of the random streamstreamto the valueValue.

集(流,Property1, Value1, Property2',Value2,...)sets multiple random stream property values with a single statement.

set(stream,A)whereAis a structure whose field names are property names of the random streamstreamsets the properties ofstreamnamed by each field with the values contained in those fields.

A = set(stream,'Property')orset(stream,'Property')displays possible values for the specified property ofstream.

A = set(stream)orset(stream)displays or returns all writable properties ofstreamand their possible values.

Was this topic helpful?