Skip to content
silvia9307 edited this page Feb 6, 2017 · 9 revisions

Installing Vistasoft

The Vistasoft git repository has several dependencies which are not part of the repository. The easiest way to install both vistasoft and the dependencies is by using the ToolboxToolbox. If you do not already have the ToolboxToolbox, following these instructions:

  • Install the toolbox toolbox

  • Test that the toolbox toolbox is installed properly by following instructions in the README (through tbUse('sample-repo');)

  • Add vistasoft to your Matlab path with the command tbUse('vistasoft');. The first time you call this, it will download vistasoft and other dependent repositories. If it is not the first time you call it, it will check that the toolboxes are up to date, and then add the paths in Matlab.

  • Test that vistasoft was installed properly. For example, try a test function such as test_mrInit();. If this runs without error, then you will have succeeded. You will also see that a directory called Your/Matlab/home/toolboxes/vistasoft/local/mrBOLD_01 was added by the test function.

  • The Freesurfer dependency is NOT handled by the toolbox toolbox. Freesurfer is a large program, and while free, it requires a license. Several vistasoft functions assume you have freesurfer. We recommend that you install freesurfer, and make sure that the Freesurfer paths are available to Matlab.

  • You can also watch the first and second tutorial found HERE. Note: The instructions above and the video tutorials are similar, but not exactly the same (e.g. Instead of installing toolbox toolbox, the tutorial shows how to install Vistasoft). However, the sequence of steps is very similar and will help you on getting started!

Clone this wiki locally