Quote Originally Posted by nikolhs View Post
hello,
the code which is above ( Perl script generating an XFOIL script) doesn't run with matlab.When i paste it in a blank .m file, they appear many red marks, which means that's something wrong happens.
If you could explain what exactly i should do (and by this i mean the correct sequence of the files that i have to create etc) i would be really grateful.
The Perl script should be in a .pl file, not a .m file. The MATLAB command to run the Perl script is perl(), and the m-file you create will be calling perl() to run the Perl script. Run help perl at the MATLAB command line for more information.