I wrote a code that uses randi () and created an .exe file from that code.
When I run the .m file from the Matlab I get a random number every time I run the program, but when I run it from the .exe file I got the same number every time.
How do I get it to generate a new random number every time I run the .exe file?
0 Comments
Sign in to comment.