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 Catalano" <firstname.lastname@example.org> wrote in message <email@example.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