Matlab figure to Igor script

I have been working on a Matlab function that takes a matlab figure and generate a igor text file (.itx) that will load in all the data and remake the figure to look like the matlab figure. It works on line plots and subplots and I am working on adding more plot types. It copies the most commonly used settings over, such as axis limits, titles, line color/type, grid. I am also working on copying over other settings so check back.

I posted the project on gitbucket for people to use if they want, and if you want to contribute to making it better then great. You can add bugs or desired features to the issue tracker (no account required). The link is:
https://bitbucket.org/SailBlue5/matlab2igor/

It contains some test plots if you want to try it out, but all you need is the ToIgor.mat file. The easiest way to run it is call ToIgor() and it will create an IgorText.itx file of the active figure. Then in Igor Data->Load Waves->Igor Text and select the file.

Enjoy