= Binary installation: R2012b =
This stand-alone version is currently not distributed in the main package.<
>You can download it separately: [[http://neuroimage.usc.edu/bst/download.php|bst_bin_R2012b_YYMMDD.zip]]
== Requirements ==
==== Operating system ====
* '''Windows''': Any version ([[http://www.mathworks.com/support/sysreq/release2012b/index.html|details]])
* '''Linux''': Ubuntu 11.10 & 12.04, RH 5.x and 6.x, Debian 6.x, SUSE 11.1+ ([[http://www.mathworks.com/support/sysreq/release2012b/linux.html|details]])
* '''MacOS''': MacOSX 10.6.4+ (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion) ([[http://www.mathworks.com/support/sysreq/release2012b/macintosh.html|details]])
==== Matlab Compiler Runtime ====
* '''MCR version''': R2012b (8.0)
* Download for free from the [[http://www.mathworks.com/products/compiler/mcr/|Mathworks website]]
== Installation ==
1. Download the latest bst_bin_R2012b_....zip archive
1. Unzip it somewhere on your computer, for example:
* __Windows__: Program Files\brainstorm3
* __Linux__: /usr/local/brainstorm3 (or ~/brainstorm3 if you are not admin)
* __MacOS__: Applications/brainstorm3
1. Create a new folder "'''brainstorm_db'''" for the Brainstorm database, for example:
* __Windows__: My documents\brainstorm_db
* __Linux__: /home/username/brainstorm_db
* __MacOS__: Documents/brainstorm_db
== Start Brainstorm ==
1. Download the '''MCR R2012b (8.0)''' for your operating system: [[http://www.mathworks.com/products/compiler/mcr/|Mathworks website]]
1. Install the MCR:
* __Windows__: Double-click on the .exe and follow the instructions
* __Linux__: From a terminal, unzip .zip, then run ./install
* __MacOS__: Click on the zip file to unzip it, then click on "InstallForMacOSX"
1. Run the program in brainstorm3/bin/R2012b/
* __Windows__: Double-click on ''brainstorm3.bat''
* __MacOS__: Double-click on ''brainstorm3.command ''and wait for instructions
* __Linux__: From a terminal, run:<
>''cd brainstorm3/bin/R2012b/''<
>''./brainstorm3.command ''
1. Problems with MacOS or Linux:
* From a terminal, make sure that the file "''brainstorm3.command''" is executable:<
>''chmod a+x brainstorm3.command''
* If nothing happens, run: <
>''./brainstorm3.command MCR_DIR''<
>MCR_DIR is where the MCR 8.0 is installed (ex: /Applications/MATLAB/MCR/v80)
* If you can't get this run, you can with another binary release:<
>Matlab 2013b: [[InstallationR2013b|See instructions]]<
>Matlab 2014a: [[InstallationR2014a|See instructions]]
1. On Linux or MacOS, you will be prompted to select the folder where you installed the MCR.
1. When asked for the Brainstorm database folder, pick the "brainstorm_db" you have just created.
1. Follow all the 12+3 introduction tutorials: [[Tutorials]]
== Updates ==
The automatic updates do not work with the stand-alone versions, follow this procedure:
* Delete the brainstorm3 folder (don't worry, it will not delete your database)
* Download the latest release of the Brainstorm version
* Follow the installation instructions (see above)