Generating buttons in an .m file, rather than in .fig file.