DanuserLab / u-shape3D

Detect morphological motifs, such as blebs, filopodia, and lamellipodia, from 3D images of surfaces, particularly images of cell surfaces.
https://www.nature.com/articles/s41592-019-0539-z
GNU General Public License v3.0
27 stars 3 forks source link

Problem at Step 5 #2

Closed yoda0612 closed 3 years ago

yoda0612 commented 4 years ago

Hi, I used the example data as input. However, when the step is 5, the system shows the error message as follow. Could you help me identify what the problem is? Thank you.

--Step 5: SurfaceSegmentation

Caused by:
Error using calculateMutualVisibilityPair (line 71)
Undefined function 'nanmean' for input arguments of type 'double'.

DanuserLab commented 3 years ago

It seems you do not have the 'nanmean' function in your Matlab. This function is in the 'Statistics and Machine Learning Toolbox'. You will need to install that toolbox in your Matlab. Here is the list of toolboxes used in this package: 'MATLAB' 'System Identification Toolbox' 'Signal Processing Toolbox' 'Image Processing Toolbox' 'Statistics and Machine Learning Toolbox' 'Curve Fitting Toolbox' 'Bioinformatics Toolbox' 'Parallel Computing Toolbox' 'MATLAB Parallel Server' 'Polyspace Bug Finder'

Thanks!