
Re: mex  matlab calls fortran which calls matlab which calls fortran  is it possible?
Posted:
Oct 9, 2009 6:48 AM


Hi James,
Unfortunately I get errors (which I don't get with similar source codes). I compile in linux with gfortran :
>> mex 'f' /home/catalanom/.matlab/R2006a/mexopts.sh mexsin.f90
Warning: mexsin.f90:1: Illegal preprocessor directive mexsin.f90:6.6:
mwPointer plhs(*), prhs(*) 1 Error: Unclassifiable statement at (1) mexsin.f90:8.6:
... and so on. with the same variables declaration I'm able to compile.
When fixed this i can test your setting.. At the moment I thank you for attention.
Michele

