Browse to http://www.mastan2.com/download.html . In the “Version 1” section, click the button “Download PC/MAC ~2MB”
Save the file to your Z drive. Right click on the downloaded ZIP file and select “Extract All”.
Launch Matlab and set the current working folder to the new folder you just created.
In the Matlab command window, type > mastan2
See screen shot for example: