AlphaSim problems

Hi,
I am trying to make an alpha-sim from a mfALFF contrast map created by using SPM (but no REST toolbox), and always appear the same error when I try to calculate the smooth:

?? Undefined function or variable "testFlag".

Error in ==> rest_Smoothest_gui>Comput_pushbutton_Callback at 207
if strcmp(testFlag,'Z')

AlphaSim error message

Dear Experts,

I'm new to REST and would like to use AlphaSim for my study. When I try to run AlphaSim, it always gives me following error message:

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

Error in rest_AlphaSim (line 78)
   [theCluster, theCount] =bwlabeln(fim, connect);

Forums: