= Installation =
== Installation steps ==
1. Get the latest BrainStorm package avaiable at:
1. Unzip the brainstorm3_xxxxxx.zip package
1. If you chose to download the anatomy templates, unzip them in the same directory <
> Example : the files for template "collin27" should be in .../brainstorm3/templates/anatomy/collin27/
1. Create a folder to store the BrainStorm database anywhere in your home directory (ex: "Protocols" or "brainstorm_protocols")<
> Note: make sure you will have enough disk space avaiable to store all your recordings and analysis files in the folder, ie. some gigabytes...
1. "Protocols" or "brainstorm_protocols" somewhere
1. Start Matlab
1. Go in the .../brainstorm3/ directory
1. Type "brainstorm" at the Matlab command prompt
== BrainStorm directories ==
BrainStorm needs three different directories:
* '''Program directory "brainstorm3"'''<
>It contains all the Matlab .m script files, and has the following architecture:
* developers/ : Personal directories of BrainStorm developers. More details...
* doc/ :
* java/ :
* plugins/ :
* templates/eeg/ :
* templates/anatomy/ :
* toolbox/
* '''User directory ".brainstorm"'''<
>Created automatically at BrainStorm startup, in the user directory (home directory under linux, "C:\Documents and Settings\username" under Windows).
* brainstorm.mat : Matlab matrix where the BrainStorm options and database structure are stored.
* tmp/ : temporary directory used by some of the BrainStorm functions. Cleaned each time BrainStorm is started
* '''Protocol directory'''<
>Created by the user. Contains all the BrainStorm database files.