I developed this interface some time ago, so I finally decided to refine and make it available here. It provides an interface between XFOIL and MATLAB, creating the files required by XFOIL to run, and reading the results back in an easy to access polar structure.
As the goal was to perform airfoil optimization, this interface is capable of parallel execution, so that you can create multiple instances and run all at the same time, without blocking MATLAB. Also, it is possible to hide the plotting window, so XFOIL will not interrupt your work-flow while it is running.
A simple example script using an NACA 23012 is provided, showing the main features of the interface.
XFOIL is not included on this package, but the class will download and extract it for you automatically in case the XFOIL executable is not available in your path.
XFOIL is an analysis software provided by Prof. Mark Drela (from MIT), for the design and analysis of subsonic airfoils. For more info, check his website at http://web.mit.edu/drela/Public/web/xfoil/