Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with matlab #10

Closed
alma-alva opened this issue Sep 21, 2022 · 1 comment
Closed

Error with matlab #10

alma-alva opened this issue Sep 21, 2022 · 1 comment

Comments

@alma-alva
Copy link

Hello everyone

I'm trying to use u-track 2.2.0 in matlab version R2022a but when I try to run it, several errors are showed up:

-- Step 1: Gaussian Mixture-Model Fitting

Undefined function 'nanmedian' for input arguments of type 'double'.

Error in robustMean (line 149)
medianData = nanmedian(data,dim);

Error in spatialMovAveBG (line 57)
[bgMeanFull,bgStdFull] = robustMean(imageLast5(nhoodIdx));

Error in detectSubResFeatures2D_StandAlone (line 369)
[bgMeanRaw,bgStdRaw] = spatialMovAveBG(imageLast5,imageSizeX,imageSizeY);

Error in detectMovieSubResFeatures (line 108)
movieInfo = detectSubResFeatures2D_StandAlone(movieParam, p.detectionParam, saveResults(i));

Error in Process/run (line 230)
obj.funName_(obj.getOwner(), varargin{:});

Error in packageGUI_RunFcn>userfcn_runProc_dfs (line 626)
userData.crtPackage.processes_{procID}.run(); % throws exception

Error in packageGUI_RunFcn>start_processing_movies_in_series (line 212)
userfcn_runProc_dfs(procID, procRun{iMovie}, handles); % user data is retrieved, updated and submitted

Error in packageGUI_RunFcn (line 157)
movieException = start_processing_movies_in_series(movieRun,handles,movieException,procRun);

Error in packageGUI_OpeningFcn>@(hObject,eventdata)packageGUI_RunFcn(hObject,eventdata,guidata(hObject)) (line 380)
set(handles.pushbutton_run, 'Callback', @(hObject,eventdata)packageGUI_RunFcn(hObject,eventdata,guidata(hObject)));
Please verify your settings are correct. Feel free to contact us if you have question regarding this error.

Can anyone help me with errors?

@DanuserLab
Copy link
Owner

Thanks for your message and using our uTrack package. You got this error because the "Statistics and Machine Learning Toolbox" was not installed in Matlab or not on the Matlab path.

FYI, you will need below toolboxes as well to run uTrack.

{'Control System Toolbox' }
{'Optimization Toolbox' }
{'Image Processing Toolbox' }
{'Statistics and Machine Learning Toolbox'}
{'Curve Fitting Toolbox' }
{'Computer Vision Toolbox' }
{'Parallel Computing Toolbox' }
{'MATLAB Parallel Server' }
{'Polyspace Bug Finder' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants