Generate an .m-file in the Results; not complete