This example demonstrates, how the internal functions of the PRNG block can also be used in your own models: You need to instatiate the respective function with the neccessary redeclarations and then you can call the functions. Please not, that the sample-based RNGs also need handling of their states!
Name | Description |
---|---|
my_continuous_random | The state-less random number generator |
my_sampled_random | The state-less random number generator |
Developed 2014 at the DLR Institute of System Dynamics and Control