Three pieces: smlm-analysis.prj is matlab's xml-based project specification file, with info such as what to add to path, author and version information makepackage.m is an mfile that compiles the mex and then runs the packaging routine to produce an mltbx file make_package.sh is a shell script that gets the version number according to git and then calls out to the m-file