= Binary installation: R2017b =
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_R2017b_YYMMDD.zip]]
== Requirements ==
==== Operating system ====
* '''Windows''': Any 64bit version ([[https://fr.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2017b_Windows.pdf|details]])
* '''Linux''': Ubuntu 14/16/17, RedHat 6/7, Debian 8/9, SUSE 12 ([[https://fr.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2017b_Linux.pdf|details]])
* '''MacOS''': 10.11 (El Capitan), 10.12 (Sierra), 10.13 (High Sierra) ([[https://fr.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2017b_Macintosh.pdf|details]])
==== Matlab Compiler Runtime ====
* '''MCR version''': R2017b (9.3)
* Download for free from the [[http://www.mathworks.com/products/compiler/mcr/|Mathworks website]]
== Installation ==
1. Download the latest bst_bin_R2017b_....zip archive
1. Unzip it somewhere on your computer, for example:
* __Windows__: My documents\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 R2017b (9.3)''' 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/R2017b/
* __Windows__: Double-click on ''brainstorm3.bat''
* __MacOS__: Double-click on ''brainstorm3.command ''and wait for instructions
* __Linux__: From a terminal, run:<
>''cd brainstorm3/bin/R2017b/''<
>''./brainstorm3.command ''
1. Troubleshooting for MacOS or Linux:
* On recent versions of MacOS, you may get an error message "Application can't be opened because it is from an unindentified developer". This message would appear for all the programs that were not downloaded from the Apple appstore. To go around this verification: right-click on the application > Open, then click on the Open button.
* 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 the MCR 9.3 folder (ex: /Applications/MATLAB/MCR/v93)
* Try with another binary release:<
>[[InstallationR2012b|2012b]], [[InstallationR2013b|2013b]], [[InstallationR2014b|2014b]], [[InstallationR2015b|2015b]], [[InstallationR2016a|2016a]], [[InstallationR2016b|2016b]], [[InstallationR2017a|2017a]], [[InstallationR2018a|2018a]]
1. Troubleshooting for Windows:
* Your current user may not have the necessary privileges. If are an adminstrator for your computer, you can do the following: right-click on ''brainstorm3.bat'' > Run as administrator.
* If you are not the administrator of your computer and Matlab or the MCR are not installed in the standard paths, Brainstorm may have trouble finding them. To specify manually the path of the MCR or Matlab folder, right-click on ''brainstorm3.bat'' > Edit. Fill the second line of the script (Example: @SET MATLABROOT="C:\Program Files\MATLAB\R2017b"), save the file, and try to execute it again.
1. On Linux or MacOS, you may be asked 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 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)