srandΒΆ

srand sets a start value for the random generator.

r = srand(sVal)

Return Value

r is always 1.

Parameters

sVal

sVal is a real, complex or string scalar.

Example

* srand("Start");

History

Version

Description

5.14.0

id-71642