Code covered by the BSD License  

Highlights from
makeinstall

5.0

5.0 | 7 ratings Rate this file 25 Downloads (last 30 days) File Size: 77.2 KB File ID: #1529
image thumbnail

makeinstall

by

 

22 Mar 2002 (Updated )

Create a single install file for your toolbox distribution.

| Watch this File

File Information
Description

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

http://tocsy.pik-potsdam.de/CRPtoolbox
(-> installation).

Project homepage:
http://tocsy.pik-potsdam.de/makeinstall.php

White Paper:
http://tocsy.pik-potsdam.de/Makeinstall/whitepaper_makeinstall.html

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!

Acknowledgements

This file inspired Makeinstall Technology, Cse Sql Database Library, Disp Inmem, and Mgui.

MATLAB release MATLAB 8.2 (R2013b)
Other requirements It should work with all MATLAB versions since R14 and on all platforms (tested on R2012, R2013).
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
16 May 2014 John Booker  
23 Apr 2014 Pablo Ñañez

I love this script, so useful, thanks :)

10 Jun 2011 Michael Teo

Is it possible to install into other path than the MATLAB's toolbox path?

25 May 2010 David Steckler

Hi, I`m David Steckler, I`ve tried to install My Software with MakeInstall your excellent Program but I had a problem Matlab says:

" ??? Out of memory. Type HELP MEMORY for your options.

Error in ==> makeinstall at 691
checksum = dec2hex(sum((1:length(c)).*c)); "

I`ll appreciate your help

Thank you so much

24 May 2007 Rybchinskaya Lena  
19 Apr 2006 po bounmaniphet  
15 Dec 2005 Adam S  
02 Oct 2005 PU N  
29 Sep 2005 Norbert Marwan

I have prepared this tool with much care. However, I cannot exclude that there are still some small bugs. If you find bugs or encounter strange problems by applying this tool, please write me an eMail. Please do not use this review section for bug reports. Thank you very much. I'm grateful to every helpful hint or comment.

Updates
17 May 2002

I have found some minor problems and errors due to wrong variable definitions. Now this programme is more general.

28 May 2002

Now MAKEINSTALL can read special resource files in the toolbox folders, which enables us the more general application of the script. Such resource file will be generated automatically, if it does not yet exist.

31 May 2002

Minor corrections in the subroutine for handling the startup.m file.

05 Jun 2002

New version, which supports binary data and sub-directories (e.g. private folder).

06 Jun 2002

Including the support of binary data and sub-directories.

03 Sep 2002

remedy problems which could occure during the pcode process on mac's OS-X

17 Sep 2002

Now it fall under the GNU General Public License.

03 Dec 2002

An error occured when running the first time. Further minor changes.

20 Dec 2002

Error during reading the directory, when p-files are therein -> now fixed.

04 Mar 2003

A checksum based test of the archive consitency is now included.

13 Mar 2003

Significant speed up of writing and reading the installation container (archive).

08 Jul 2003

Some little improvements in the created install-script.

13 Oct 2003

If startup file contains only one entry, an error may occur - now fixed.

20 Nov 2003

Empty files bug fixed

20 Nov 2003

If startup file contains only one entry, an error may occur - now fixed.

20 Nov 2003

If startup file contains only one entry, an error may occur - now fixed.

18 Dec 2003

Minor modifications in the error handling.

20 Jan 2004

Improvement of the stability during write access failures. Rehash bug fixed.

24 Mar 2004

New features:
root-folder for the toolbox-directory can be modified, startup.m-entry is optional

minor bug-fixes due to restart the makeinstall script

10 Nov 2004

CVS compatibility included

23 Feb 2005

minor bug fixes

11 Apr 2005

improvement of container, minor bugfixes

23 Aug 2005

fixed downwards compatibility of mfilename command

07 Feb 2006

pcode bug, which could occur since R14, resolved

17 Mar 2006

code optimised

08 Nov 2006

support of subdirectories

12 Jun 2009

change from GPL to BSD License

19 Jun 2009

remaining hint to GPL removed

21 Nov 2011

Update the info.xml content.

25 Sep 2012

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

04 Sep 2013

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.

05 Sep 2013

small bug in deinstallation routine fixed

14 Nov 2013

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

27 Nov 2013

bugfix for Windows installation, improved Octave behaviour

07 Jan 2014

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

12 Mar 2014

fix for rare cases when userpath variable is empty

Contact us