Import error in MATLAB -
i'm brand new matlab , having trouble importing module called sigtool. code:
>> path('/space/jazz/1/users/gwarner/sigtool/program') >> sigtool
returns:
undefined function 'fileparts' input arguments of type 'char'. error in sigtool (line 72) parentdirectory=fileparts(which('sigtool'));
the weirdest part i've been able open before. used same code , haven't edited sigtool directory or changed it's path since. ideas?
your usage of path
wiping out matlab's default search path. if change first line
path(path,'/space/jazz/1/users/gwarner/sigtool/program')
the path added bottom of search stack. can add directory top of stack using addpath
:
addpath('/space/jazz/1/users/gwarner/sigtool/program')