Hello. I have a little problem with integers, which change their value from the gateway to the computational routine. Nowaday I pass a real*8 Value, which I then cast in the computational routine with the int - operation. I tried to replace the %VAL() construct by temporary true Fortran array using the matlab routine mxCopyPtrToInteger4. But that didn't work well too.
Perhaps anybody can give me a little hint. I'M looking forward to your answers!