Hello!
I just upgraded to Salford 4.8. I'm trying to start a Salford DLL from a C++ mex funktion in Matlab 7.0. If I do so in Simulink Matlab crashes imediately without any usefull error message. From the Matlab prompt I recieve this:
??? Unknown Windows exception value=c0000090 in MATLAB. I looked it up and it's a floating point exception. I could determin the operation causing it on the fortran side by writing a test file.
- I can pass a constant from fortran to Matlab.
- I can pass arguments from matlab to fortran and back without a crash.
- But the moment I try to calculate with Matlab originated data I have problems.
I tested it with integer conversion nint(). The first time I call it from the prompt everything is fine. I get the correct result. But on the second call I get the error mentioned above.
Any idea how to solve my problem with salford? Thank's for your help! Martin