Main /

Installation

Main.Installation History

Hide minor edits - Show changes to markup

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:

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:

September 02, 2013, at 09:10 AM by Michal Kvasnica -
Changed line 70 from:
  1. Download latest versions of following packages (pick the correct download link for your operating system):
to:
  1. 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:

  1. Download latest versions of following packages (pick the correct download link for your operating system):
    • mpt
    • mptdoc
    • cddmex
    • fourier
    • glpkmex
    • hysdel
    • lcp
    • sedumi
    • espresso
  2. Download the latest YALMIP release
  3. Unpack all downloaded archives to a directory (each archive will automatically create its own subdirectory)
  4. Set Matlab path to all subdirectories of the main directory created in the previous step
  5. Save your Matlab path for later use
August 30, 2013, at 06:29 PM by Michal Kvasnica -
Changed line 21 from:
  1. Install tbxmanager, our new mechanism for installing and updating free Matlab toolboxes:
to:
  1. Install tbxmanager, our new mechanism for installing and updating free Matlab toolboxes (make sure to properly configure Matlab if you are behind a proxy server):
August 30, 2013, at 06:19 PM by Michal Kvasnica -
Changed line 36 from:
  1. Run mpt_init to initialize default settings for MPT3.
to:
  1. 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:
  1. Create a directory where MPT3 and accompanying toolboxes will be installed to. Call the directory tbxmanager for instance.
(:source lang=MATLAB -getcode:)
mkdir('tbxmanager')
  1. Go to that directory in Matlab.
to:
  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:
  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.
to:
  1. 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
  1. Install 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')))) @]

  1. Install tbxmanager, our new mechanism for installing and updating free Matlab toolboxes:

(:source lang=MATLAB :) [@

Changed line 27 from:
  1. Install MPT3 and required toolboxes
to:
  1. Install MPT3 and required toolboxes
Changed line 31 from:
  1. The path to all toolboxes can be set by issuing
to:
  1. 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:
  1. Go to that directory in Matlab.
to:
  1. Go to that directory in Matlab.
Changed line 19 from:
  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.
to:
  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 line 24 from:
  1. Install tbxmanager, our new mechanism for installing and updating free Matlab toolboxes:
to:
  1. Install tbxmanager, our new mechanism for installing and updating free Matlab toolboxes:
Changed line 30 from:
  1. Install MPT3 and required toolboxes
to:
  1. Install MPT3 and required toolboxes
Changed line 34 from:
  1. The path to all toolboxes can be set by issuing
to:
  1. 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:
  1. 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:
  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.
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 install_mpt3.m in Matlab.

to:

Download and run the installation script 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 install_mpt3.m in Matlab.

to:

Download and run the installation script 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 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:
  1. 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:
  1. Go to that directory in Matlab.
to:
  1. Go to that directory in Matlab.
Changed line 21 from:
  1. 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:
  1. 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:
  1. Install tbxmanager, our new mechanism for installing and updating free Matlab toolboxes:
to:
  1. Install tbxmanager, our new mechanism for installing and updating free Matlab toolboxes:
Changed line 32 from:
  1. Install MPT3 and required toolboxes
to:
  1. 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:
  1. The path to all toolboxes can be set by issuing
to:
  1. 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.

  1. 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.
  1. 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

  1. Open Matlab R2011a or newer and issue the following commands at the Matlab prompt.
  2. Create a directory where MPT3 and accompanying toolboxes will be installed to. Call the directory tbxmanager for instance.
(:source lang=MATLAB :)
mkdir('tbxmanager')
  1. Go to that directory in Matlab.
(:source lang=MATLAB :)
cd tbxmanager
  1. 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'))))
  1. Install 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
  1. Install MPT3 and required toolboxes
(:source lang=MATLAB :)
tbxmanager install mpt mptdoc cddmex fourier glpkmex hysdel lcp sedumi yalmip
  1. 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.

  1. 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.