ohuguy / pmtk3

Automatically exported from code.google.com/p/pmtk3
MIT License
0 stars 0 forks source link

initPmtk3 fails #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. have matlabroot not contain MATLAB: in all caps
2. run initPmtk3
3.

What is the expected output? What do you see instead?

Instead of a successful initialization, the output is

>> initPmtk3
initializing pmtk3
??? Error using ==> catdirs at 24
All arguments must be strings.

Error in ==> addpath at 64
p = catdirs(varargin{1:n});

Error in ==> initPmtk3 at 12
addpath(genpathPMTK(fullfile(thisDir, 'localUtil')));

What version / revision of the product are you using? On what operating
system?
Revision: 2135
Please provide any additional information below.
For the time being case insensitive search might work for most people. i.e., 
change line 13 in genpathPMTK.m from 

if isempty(strfind(matlabroot, 'MATLAB'))

to 

if isempty(strfind(upper(matlabroot), 'MATLAB'))

Original issue reported on code.google.com by nsa...@gmail.com on 16 Aug 2010 at 1:23

GoogleCodeExporter commented 9 years ago

Original comment by mattbdun...@gmail.com on 16 Aug 2010 at 3:53