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


ok , I fixed the problem, compiling in fixed format i.e. changing comments with C and "mwPointer" to mwpointer... :(
Sorry.. Let's try to compile go on...
Michele
"Michele Catalano" <catamik@yahoo.it> wrote in message <han4d1$fb6$1@fred.mathworks.com>... > 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

