[Homer-users] HOMER issues with PMI toolbox 1.0

thuppert thuppert at nmr.mgh.harvard.edu
Thu May 6 13:40:03 EDT 2004
Search archives:

Hey all-

   It just came to my attention that there was an issue with the PMI toolbox
version 1.0 (version 2.0 is just fine).  This probably doesn't effect very
many people (probably only those in this lab, but...).  This is not an issue
with HOMER but rather how matlab treats the toolbox.  This problem can be
seen if when you start HOMER and you get the message that the program can't
find the PMI toolbox (even though you are sure its in the path).  This is
because, unlike version 2.0, PMI toolbox version 1.0 is not treated
especially as a toolbox (its treated just like a bunch of regular programs).

This problem can be solved in one of two ways:

1)  Just install PMI toolbox 2.0 instead (avaliable from the resources page:
http://www.nmr.mgh.harvard.edu/DOT/resources.htm  )

2)  You can use version toolbox version 1.0 if you make the following
change:



--You will need to tell matlab to treat the PMI folder as it would any other
toolbox.  Toolboxes are treated differently from normal programs.  To do
this follow these steps:


1)  create a new matlab script named "contents.m"

2)  Copy and paste the lines (exactly this):

% Photon Migration (PMI) Toolbox.
% Version 1.0 (R0.1)

leaving no black lines at the beginning of the code!!!

3)  Save the file in the PMI toolbox version 1.0 directory

4)  (You might want to reupdate the path to the PMI toolbox)

5)  on the comand prompt type the line:  rehash toolboxcache

-  This updates the toolbox list and should tell Matlab that the PMI toolbox
is an actual toolbox

6)  If you type the comand:  ver

-This should display a list of all the toolboxes installed on your computer.
You should see
the line  "Photon Migration (PMI) Toolbox  Version 1.0"  in this list

-now everything should be fine.





Ted Huppert, MS

PhD student-Harvard Univ.
Dept of Biophysics
Photo Migration Imaging lab
Mass General Hospital/CNY

Tele: (617)726-4020
Cell: (617) 869-1205
thuppert at nmr.mgh.harvard.edu





More information about the Homer-users mailing list