Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

compiling mex on Linux vs. Windows

$
0
0
Hi all,

This seems strange but when I compile and run the same exact .cpp code on Linux, the result is different than Windows. I set the rng(0) in the beginning of the MATLAB script which calls the mex function inside. The outputs of the mex are different! Why?

Thanks,
Elnaz

Viewing all articles
Browse latest Browse all 19628

Trending Articles