FMEX Frequently Asked Questions

FMEX Home        FAQs          How Can I Help?           Examples         Tools & Links

1. Which compilers are supported for the creation of FMEX files?

2. I have a Fortran compiler, but it is not supported by The MathWorks. Can I still use it to compile FMEX files?

3. Why can't I compile Fortran90/95 source code using the MEX command?

4. My compiler doesn't support %VAL(). Must I know the dimensions of the inputs and outputs at compilation?

5. I want to write MEX files, why should I write in Fortran instead of C or C++?

6. Can FMEX files have a variable number of inputs or outputs ?

7. Can FMEX files be threaded for SMP operation?

8. Can I use CXML, IMSL or the Intel MKL libraries in FMEX files?

9. Why can't I get the CVF debugger to work?

10. Can I optimize my MEX files?

11. Why do I keep getting "stack overflow" errors when I use a MEX file?