Main /

Installation

Main.Installation History

Hide minor edits - Show changes to output

Changed line 7 from:
[++ '''Please note that some of our servers will be down from February 1 till February 3, 2019. It will NOT be possible to install MPT during that time. We apologize for the inconvenience.''' ++]
to:
Added lines 6-7:

[++ '''Please note that some of our servers will be down from February 1 till February 3, 2019. It will NOT be possible to install MPT during that time. We apologize for the inconvenience.''' ++]
Added line 72:
[[#manual]]
January 15, 2014, at 07:09 PM by 91.127.128.140 -
Added lines 46-47:
clear classes
mpt_init
Deleted lines 48-56:
If there was a change in the global option settings, or any modification in the class files, it is recommended to clear all variables (and update class files) by typing
(:source lang=MATLAB :) [@
clear all
@]
and initialize MPT3 to default values by
(:source lang=MATLAB :) [@
mpt_init
@]

January 15, 2014, at 07:08 PM by 91.127.128.140 -
Added lines 67-68:
clear classes
mpt_init
Added lines 47-55:
If there was a change in the global option settings, or any modification in the class files, it is recommended to clear all variables (and update class files) by typing
(:source lang=MATLAB :) [@
clear all
@]
and initialize MPT3 to default values by
(:source lang=MATLAB :) [@
mpt_init
@]

Added line 48:
[[#dev]]
September 02, 2013, at 09:10 AM by Michal Kvasnica -
Changed line 70 from:
# Download latest versions of following packages (pick the correct download link for your operating system):
to:
# Download latest versions of following packages (pick the correct download link for your operating system; prefer ''stable'' versions):
September 02, 2013, at 09:07 AM by Michal Kvasnica -
Changed lines 65-83 from:
@]
to:
@]

!! Manual installation without tbxmanager

If you for any reason cannot use @@tbxmanager@@, you can install MPT3 and all required dependencies manually:
# Download latest versions of following packages (pick the correct download link for your operating system):
** [[ http://www.tbxmanager.com/package/view/mpt | mpt ]]
** [[ http://www.tbxmanager.com/package/view/mptdoc | mptdoc ]]
** [[ http://www.tbxmanager.com/package/view/cddmex | cddmex ]]
** [[ http://www.tbxmanager.com/package/view/fourier | fourier ]]
** [[ http://www.tbxmanager.com/package/view/glpkmex | glpkmex ]]
** [[ http://www.tbxmanager.com/package/view/hysdel | hysdel ]]
** [[ http://www.tbxmanager.com/package/view/lcp | lcp ]]
** [[ http://www.tbxmanager.com/package/view/sedumi | sedumi ]]
** [[ http://www.tbxmanager.com/package/view/espresso | espresso ]]
# Download the latest [[http://users.isy.liu.se/johanl/yalmip/pmwiki.php?n=Main.Download | YALMIP release ]]
# Unpack all downloaded archives to a directory (each archive will automatically create its own subdirectory)
# Set Matlab path to '''all subdirectories''' of the main directory created in the previous step
# Save your Matlab path for later use
August 30, 2013, at 06:29 PM by Michal Kvasnica -
Changed line 21 from:
#%item value=3% Install [[http://www.tbxmanager.com | tbxmanager]], our new mechanism for installing and updating free Matlab toolboxes:
to:
#%item value=3% Install [[http://www.tbxmanager.com | tbxmanager]], our new mechanism for installing and updating free Matlab toolboxes (make sure to [[http://www.mathworks.com/support/solutions/en/data/1-B2SN2R/?solution=1-B2SN2R | properly configure Matlab ]] if you are behind a proxy server):
August 30, 2013, at 06:19 PM by Michal Kvasnica -
Changed line 36 from:
#%item value=8% Run @@mpt_init@@ to initialize default settings for MPT3.
to:
#%item value=6% Run @@mpt_init@@ to initialize default settings for MPT3.
August 30, 2013, at 02:41 PM by Michal Kvasnica -
Changed lines 58-65 from:
from time to time to update your MPT3 installation to the latest development version.
to:
from time to time to update your MPT3 installation to the latest development version.

!! Removal

If you don't require MPT anymore, you can save some disk space by uninstalling it:
(:source lang=MATLAB :) [@
tbxmanager uninstall mpt mptdoc cddmex fourier glpkmex hysdel lcp yalmip sedumi espresso
@]
July 26, 2013, at 07:31 PM by Michal Kvasnica -
Changed line 29 from:
tbxmanager install mpt mptdoc cddmex fourier glpkmex hysdel lcp yalmip sedumi
to:
tbxmanager install mpt mptdoc cddmex fourier glpkmex hysdel lcp yalmip sedumi espresso
July 26, 2013, at 07:31 PM by Michal Kvasnica -
Changed lines 11-15 from:
# Create a directory where MPT3 and accompanying toolboxes will be installed to. Call the directory @@tbxmanager@@ for instance.
(:source lang=MATLAB -getcode:) [@
mkdir('tbxmanager')
@]
#%item value=2% Go to that directory in Matlab
.
to:
#%item value=1% Remove any previous installations of MPT2 and YALMIP from your path. If you do not have MPT2 or YALMIP installed, you can skip this step.
Changed lines 13-14 from:
cd tbxmanager
to:
rmpath(genpath(fileparts(which('mpt_init'))))
rmpath(genpath(fileparts(which('yalmipdemo'))))
Changed lines 16-21 from:
#%item value=3% Remove any previous installations of MPT2 and YALMIP from your path. If you do not have MPT2 or YALMIP installed, you can skip this step.
to:
#%item value=2% Create a directory where MPT3 and accompanying toolboxes will be installed to. Call the directory @@tbxmanager@@ for instance.
(:source lang=MATLAB -getcode:) [@
mkdir('tbxmanager')
cd tbxmanager
@]
#%item value=3% Install [[http://www
.tbxmanager.com | tbxmanager]], our new mechanism for installing and updating free Matlab toolboxes:
Deleted lines 22-26:
rmpath(genpath(fileparts(which('mpt_init'))))
rmpath(genpath(fileparts(which('yalmipdemo'))))
@]
#%item value=4% Install [[http://www.tbxmanager.com | tbxmanager]], our new mechanism for installing and updating free Matlab toolboxes:
(:source lang=MATLAB :) [@
Changed line 27 from:
#%item value=5% Install MPT3 and required toolboxes
to:
#%item value=4% Install MPT3 and required toolboxes
Changed line 31 from:
#%item value=6% The path to all toolboxes can be set by issuing
to:
#%item value=5% The path to all toolboxes can be set by issuing
July 26, 2013, at 07:29 PM by Michal Kvasnica - changed numbering of bullets
Changed line 15 from:
#%item value=3% Go to that directory in Matlab.
to:
#%item value=2% Go to that directory in Matlab.
Changed line 19 from:
#%item value=4% Remove any previous installations of MPT2 and YALMIP from your path. If you do not have MPT2 or YALMIP installed, you can skip this step.
to:
#%item value=3% Remove any previous installations of MPT2 and YALMIP from your path. If you do not have MPT2 or YALMIP installed, you can skip this step.
Changed line 24 from:
#%item value=5% Install [[http://www.tbxmanager.com | tbxmanager]], our new mechanism for installing and updating free Matlab toolboxes:
to:
#%item value=4% Install [[http://www.tbxmanager.com | tbxmanager]], our new mechanism for installing and updating free Matlab toolboxes:
Changed line 30 from:
#%item value=6% Install MPT3 and required toolboxes
to:
#%item value=5% Install MPT3 and required toolboxes
Changed line 34 from:
#%item value=7% The path to all toolboxes can be set by issuing
to:
#%item value=6% The path to all toolboxes can be set by issuing
June 10, 2013, at 08:58 PM by 81.221.104.200 -
Changed line 38 from:
->It is recommended to store this command in the initialization file @@startup.m@@ because the path to all toolboxes maintained through tbxmanager is set automatically everytime you start Matlab. Edit @@startup.m@@ and store the above line in there. If there is no file @startup.m@, you can create one in the @@tbxmanager@@ directory.
to:
->It is recommended to store this command in the initialization file @@startup.m@@ because the path is set automatically everytime you start Matlab. Edit @@startup.m@@ and store the above line in there. If there is no file @@startup.m@@, you can create one in the @@tbxmanager@@ directory.
May 27, 2013, at 06:04 PM by Michal Kvasnica -
Changed line 19 from:
#%item value=4% Remove any previous installations of MPT2 and YALMIP from your path. If you do not have installed MPT2 or YALMIP, you can skip this step.
to:
#%item value=4% Remove any previous installations of MPT2 and YALMIP from your path. If you do not have MPT2 or YALMIP installed, you can skip this step.
May 27, 2013, at 05:45 PM by Michal Kvasnica -
Changed line 32 from:
tbxmanager install mpt mptdoc cddmex fourier glpkmex hysdel lcp yalmip
to:
tbxmanager install mpt mptdoc cddmex fourier glpkmex hysdel lcp yalmip sedumi
May 24, 2013, at 03:00 PM by 129.132.29.86 -
Changed line 8 from:
Download and run the installation script  [[ {$FullName}?action=download&upname=install_mpt3.m | install_mpt3.m ]] in Matlab.
to:
Download and run the installation script  [[ {$FullName}?action=download&upname=install_mpt3.m | install_mpt3.m ]] in Matlab. The script basically executes the steps below and asks for installation directories.
May 24, 2013, at 02:57 PM by 129.132.29.86 -
Changed line 8 from:
Download and run the installation script  [[ Attach:install_mpt3.m | install_mpt3.m ]] in Matlab.
to:
Download and run the installation script  [[ {$FullName}?action=download&upname=install_mpt3.m | install_mpt3.m ]] in Matlab.
May 24, 2013, at 02:39 PM by 129.132.29.86 -
Added lines 7-10:
!!!! Automatic installation
Download and run the installation script  [[ Attach:install_mpt3.m | install_mpt3.m ]] in Matlab.

!!!! Manual installation
May 23, 2013, at 08:00 PM by Michal Kvasnica -
Deleted lines 4-8:
!! Quick Installation

Open Matlab R2011a or newer and run the installation script attachment:install_mpt3.m
The file basically executes the installation instructions below.

Deleted line 6:
# Open Matlab R2011a or newer and issue the following commands at the Matlab prompt.
May 23, 2013, at 07:59 PM by Michal Kvasnica -
May 23, 2013, at 07:59 PM by Michal Kvasnica -
Changed line 17 from:
# Go to that directory in Matlab.
to:
#%item value=3% Go to that directory in Matlab.
Changed line 21 from:
# Remove any previous installations of MPT2 and YALMIP from your path. If you do not have installed MPT2 or YALMIP, you can skip this step.
to:
#%item value=4% Remove any previous installations of MPT2 and YALMIP from your path. If you do not have installed MPT2 or YALMIP, you can skip this step.
Changed line 26 from:
# Install [[http://www.tbxmanager.com | tbxmanager]], our new mechanism for installing and updating free Matlab toolboxes:
to:
#%item value=5% Install [[http://www.tbxmanager.com | tbxmanager]], our new mechanism for installing and updating free Matlab toolboxes:
Changed line 32 from:
# Install MPT3 and required toolboxes
to:
#%item value=6% Install MPT3 and required toolboxes
Changed line 34 from:
tbxmanager install mpt mptdoc cddmex fourier glpkmex hysdel lcp sedumi yalmip
to:
tbxmanager install mpt mptdoc cddmex fourier glpkmex hysdel lcp yalmip
Changed line 36 from:
# The path to all toolboxes can be set by issuing
to:
#%item value=7% The path to all toolboxes can be set by issuing
Changed lines 40-41 from:
It is recommended to store this command in the initialization file @startup.m@ because the path to all toolboxes maintained through tbxmanager is set automatically everytime you start Matlab. Edit @@startup.m@@ and store the above line in there. If there is no file @startup.m@, you can create one in the @@tbxmanager@@ directory.
# Run @@mpt_init@@ to initialize default settings for MPT3.
to:
->It is recommended to store this command in the initialization file @@startup.m@@ because the path to all toolboxes maintained through tbxmanager is set automatically everytime you start Matlab. Edit @@startup.m@@ and store the above line in there. If there is no file @startup.m@, you can create one in the @@tbxmanager@@ directory.
#%item value=8% Run @@mpt_init@@ to initialize default settings for MPT3.
Deleted line 60:
tbxmanager selfupdate
Changed line 63 from:
from time to time to update your MPT3 installation to the latest development version.
to:
from time to time to update your MPT3 installation to the latest development version.
May 23, 2013, at 07:51 PM by Michal Kvasnica -
Changed line 14 from:
(:source lang=MATLAB :) [@
to:
(:source lang=MATLAB -getcode:) [@
May 23, 2013, at 07:49 PM by Michal Kvasnica -
Added lines 1-64:
!! Prerequisites

MATLAB R2011a or later.

!! Quick Installation

Open Matlab R2011a or newer and run the installation script attachment:install_mpt3.m
The file basically executes the installation instructions below.

!! Installation instructions

# Open Matlab R2011a or newer and issue the following commands at the Matlab prompt.
# Create a directory where MPT3 and accompanying toolboxes will be installed to. Call the directory @@tbxmanager@@ for instance.
(:source lang=MATLAB :) [@
mkdir('tbxmanager')
@]
# Go to that directory in Matlab.
(:source lang=MATLAB :) [@
cd tbxmanager
@]
# Remove any previous installations of MPT2 and YALMIP from your path. If you do not have installed MPT2 or YALMIP, you can skip this step.
(:source lang=MATLAB :) [@
rmpath(genpath(fileparts(which('mpt_init'))))
rmpath(genpath(fileparts(which('yalmipdemo'))))
@]
# Install [[http://www.tbxmanager.com | tbxmanager]], our new mechanism for installing and updating free Matlab toolboxes:
(:source lang=MATLAB :) [@
urlwrite('http://www.tbxmanager.com/tbxmanager.m', 'tbxmanager.m');
tbxmanager
savepath
@]
# Install MPT3 and required toolboxes
(:source lang=MATLAB :) [@
tbxmanager install mpt mptdoc cddmex fourier glpkmex hysdel lcp sedumi yalmip
@]
# The path to all toolboxes can be set by issuing
(:source lang=MATLAB :) [@
tbxmanager restorepath
@]
It is recommended to store this command in the initialization file @startup.m@ because the path to all toolboxes maintained through tbxmanager is set automatically everytime you start Matlab. Edit @@startup.m@@ and store the above line in there. If there is no file @startup.m@, you can create one in the @@tbxmanager@@ directory.
# Run @@mpt_init@@ to initialize default settings for MPT3.
(:source lang=MATLAB :) [@
mpt_init
@]

!! Updating

To update MPT3 and other installed toolboxes to their latest stable versions, run
(:source lang=MATLAB :) [@
tbxmanager update
@]

!! Living on the bleeding edge

If you want to help us with testing development versions of MPT3, subscribe to the unstable repository:
(:source lang=MATLAB :) [@
tbxmanager source add http://www.tbxmanager.com/package/unstable.xml/mpt
@]
Then run
(:source lang=MATLAB :) [@
tbxmanager selfupdate
tbxmanager update
@]
from time to time to update your MPT3 installation to the latest development version.