Command:
setMethodRandom ( |
|
What:
Sets the Random method in the current configuration
Parameters:
seed [long] |
the seed number to be used for random number generation. The random numbers generation in SimLab is implemented using an iterative function based on a user defined starting point. The seed is the primer value for this procedure (a large value (>= 7 digits) is advised |
execution [long] |
the number of executions for the Random method |
Return:
error_code [int]: 1 if the operation has occurred without errors, 0 if an error has occurred
Examples:
setMethodRandom(1231, 1000)
- A Matlab example script using this command manage_samples.m