AAMToolbox Download: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
=AAMToolbox installation= | =AAMToolbox installation= | ||
Unzip the download into handy directory, e.g. ''myAAMToolbox''. The result will be a directory called ''ShapeModelToolbox'' which contains: | |||
AAMToolbox_Dependencies_outside_ShapeModelToolbox | AAMToolbox_Dependencies_outside_ShapeModelToolbox | ||
3DExtension | 3DExtension | ||
Line 14: | Line 14: | ||
Utilities | Utilities | ||
The first subdirectory contains all the utility subroutines from our DArT_Toolshed that are used by the ''AAMToolbox'' but are not usually a part of the ''ShapeModelToolbox''. | The first subdirectory contains all the utility subroutines from our DArT_Toolshed that are used by the ''AAMToolbox'' but are not usually a part of the ''ShapeModelToolbox''. | ||
==Fire up Matlab== | |||
Tell Matlab to include the ''ShapeModelToolbox'' in its path. What is a path? To see your current paths type | |||
path | path | ||
and lots of directories will whizz past in the command window. Any program - Matlab command - toolbox name - etc. that lies within a directory in one of these paths will be accessible to Matlab. We need to extend the paths to include everything in the ''ShapeModelToolbox'' by adding the paths. So type | and lots of directories will whizz past in the command window. Any program - Matlab command - toolbox name - etc. that lies within a directory in one of these paths will be accessible to Matlab. '''We need to extend the paths to include everything in the ''ShapeModelToolbox'' by adding the paths'''. So type | ||
addpath(genpath('myAAMToolbox\ShapeModelToolbox')); | addpath(genpath('myAAMToolbox\ShapeModelToolbox')); | ||
If you are lucky and Matlab is installed correctly you can then save the new paths with | If you are lucky and Matlab is installed correctly you can then save the new paths with | ||
savepath | savepath | ||
(If not then you might have to repeat the ''addpath'' command each time you launch Matlab.) | (If not then you might have to repeat the ''addpath'' command each time you launch Matlab.)<br> | ||
Check that it is working by typing | |||
which AAMToolbox | which AAMToolbox | ||
and it should reply by saying where this file is. If all is OK then type | and it should reply by saying where this file is. '''If all is OK then you are ready to run the ''AAMToolbox'''''Bold text''' type''' | ||
AAMToolbox | AAMToolbox | ||
and [http://cmpdartsvr1.cmp.uea.ac.uk/wiki/BanghamLab/index.php/Tutorials_on_the_Shape_modelling_toolbox go to the first tutorial]. | and [http://cmpdartsvr1.cmp.uea.ac.uk/wiki/BanghamLab/index.php/Tutorials_on_the_Shape_modelling_toolbox go to the first tutorial]. |
Revision as of 12:22, 29 October 2012
Download AAMToolbox
AAMToolbox installation
Unzip the download into handy directory, e.g. myAAMToolbox. The result will be a directory called ShapeModelToolbox which contains:
AAMToolbox_Dependencies_outside_ShapeModelToolbox 3DExtension AAMToolbox ConversionTools ModelBuilder3DTool TemplateBuilder3DTool Utilities
The first subdirectory contains all the utility subroutines from our DArT_Toolshed that are used by the AAMToolbox but are not usually a part of the ShapeModelToolbox.
Fire up Matlab
Tell Matlab to include the ShapeModelToolbox in its path. What is a path? To see your current paths type
path
and lots of directories will whizz past in the command window. Any program - Matlab command - toolbox name - etc. that lies within a directory in one of these paths will be accessible to Matlab. We need to extend the paths to include everything in the ShapeModelToolbox by adding the paths. So type
addpath(genpath('myAAMToolbox\ShapeModelToolbox'));
If you are lucky and Matlab is installed correctly you can then save the new paths with
savepath
(If not then you might have to repeat the addpath command each time you launch Matlab.)
Check that it is working by typing
which AAMToolbox
and it should reply by saying where this file is. If all is OK then you are ready to run the AAMToolboxBold text type
AAMToolbox