Create a single install file for your toolbox distribution.
Updated 2 Nov 2014

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

You have a created a toolbox with a lot of MATLAB files and now you need a simple way to distribute this toolbox? With MAKEINSTALL you will be able to automatically create a single INSTALL.M file, which includes a simple installation routine and all the Matlab programmes needed for the toolbox. The install script will modify your system in order to use the toolbox instantly.
An illustration of the install script is available on
(-> installation).
Project homepage:

White Paper:

Makeinstall needs Matlab 7 or newer because it uses commands that are not available in previous versions.

However, the installer can be run even in Octave!

Starting with Release 2014b, MATLAB provides now a similar, build-in feature. Nevertheless, the makeinstall installer will be continued as it provides installers also for older MATLAB versions and comes with useful features (e.g., automatic version number inclusion).

Cite As

Norbert Marwan (2024). makeinstall (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

GIT tag support added (used for version number)

new feature: option for exclusive PC usage (toolbox will not work under other systems)
avoid addpath of package directories (+folders)
fid-bug in error handling fixed, extension of ignoring of further non-Matlab files

fix for rare cases when userpath variable is empty

bug in ignoring files (.git*, .svn*, etc) fixed

bugfix for Windows installation, improved Octave behaviour

ignores now .git files
fixes a bug when using MS Windows line endings
fixes a bug when adding entries in startup.m

small bug in deinstallation routine fixed

Installer now produces an Octave compatible install file. The toolbox can be installed within Matlab and Octave with the same install file. However, the Octave compatibility of the Matlab toolbox itself remains in the responsibility of the developer.

only for Windows users: changed toolbox location from general Matlab folder to user's Matlab folder in Windows

Update the info.xml content.

remaining hint to GPL removed

change from GPL to BSD License