I have created a shared library from a MATLAB function that uses the RAND variable. I want to reset the random number generator from an external C program.
MATLAB: How to reset the state of the MATLAB random variable generator from C code
jgrandMATLAB C/C++ Math Librarystate
Related Question
- How to use the Mersenne “Twister” algorithm to generate random numbers form the Uniform Random Number Block in Simulink
- Is the “state” important
- Random numbers
- Am I unable to reproduce the random numbers generated by the GAMRND function in the Statistics Toolbox
- How to generate dibits using uniform number generator
- Random number generator errors after switching modes from ‘state’ to ‘shuffle’
Best Answer