t*****s 发帖数: 49 | 1 I'm trying to implement a C++ code with mex function in Matlab. The
code is written to generate a stochastic process. If I compile the code
under Cygwin with g++ command, the simulation works fine. But if I compile
it in Matlab (I tried both VC++9.0 and Watcom) and run it in Matlab, it
occasionally generates some Infinite numbers. I am not an expert in C++, so
I am not sure what could be the problem. Could someone help me out here? I
imagine it might have to do with the way this code handl |
|