lpollonini / qt-nirs

QT-NIRS: Quality Testing of Near Infrared Scans
Other
14 stars 4 forks source link

BUG #8

Closed Thilthd closed 1 year ago

Thilthd commented 1 year ago

Hi, I got these errors when running qtnirs, I wonder if you could help me with this?

qtnirs The input data is a folder. All .nirs files inside C:\Users\ty66\qt-nirs\qtnirs_local will be evaluated. Unrecognized function or variable 'rdir'.

Error in qtnirsLoadFileGUI/LoadDotNirsDir (line 308) dotNirsFound = rdir(fullfile(app.dotNirsPath,'*','.nir'));

Error in qtnirsLoadFileGUI/startupFcn (line 172) LoadDotNirsDir(app, app.dotNirsPath);

Error in qtnirsLoadFileGUI>@(app)startupFcn(app,varargin{:}) (line 692) runStartupFcn(app, @(app)startupFcn(app, varargin{:}))

Error in appdesigner.internal.service.AppManagementService/runStartupFcn (line 135) startupFcn(app);

Error in matlab.apps.AppBase/runStartupFcn (line 68) ams.runStartupFcn(app, startfcn);

Error in qtnirsLoadFileGUI (line 692) runStartupFcn(app, @(app)startupFcn(app, varargin{:}))

Error in qtnirs (line 120) qtnirsLoadFileGUI(dotNirsFilePath);

Screenshot

Picture1

smonterohdz commented 1 year ago

Hi, It seems Matlab cannot find the rdir function. Please double-check that the utils folder is also added to Matlab's path. As in the figure. Let us know if the problem persists. image