AAMToolbox Download: Difference between revisions

From BanghamLab
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


=AAMToolbox installation=
=AAMToolbox installation=
Unzip the download into handy directory. The result will be a directory
#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 type
AAMToolbox
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 13:17, 29 October 2012

Return to Software

Download AAMToolbox

Download revised Nov2012

AAMToolbox installation

  1. 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.

  1. Fire up Matlab
  2. Tell Matlab to include the ShapeModelToolbox in its path
    1. 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.)

  1. Check that it is working by typing
which AAMToolbox

and it should reply by saying where this file is. If all is OK then type

AAMToolbox

and go to the first tutorial.