跑degree centrity报错

老师好,

今天尝试跑了degree centrity,没有找到原因。麻烦帮忙看下,谢谢。

报错如下:
Exception occured. (MATLAB:UndefinedFunction)
Undefined function or variable "mPF_list".
1197#line, run_pushbutton_Callback, in "C:\Feng_Liu\software\REST_V1.8PRE_120905\rest_DegreeCentrality_gui.m"
96#line, gui_mainfcn, in "C:\Program Files\MATLAB\R2012a\toolbox\matlab\guide\gui_mainfcn.m"
44#line, rest_DegreeCentrality_gui, in "C:\Feng_Liu\software\REST_V1.8PRE_120905\rest_DegreeCentrality_gui.m"
0#line, @(hObject,eventdata)rest_DegreeCentrality_gui('run_pushbutton_Callback',hObject,eventdata,guidata(hObject)), in ""

提取ReHo、ALFF代码总是出错(一个地方)请大家看看

  大家好:
   function bold=read_img(file,p,hz,zz)
   fid=fopen(file, 'r');
   [a_func,count]=fread(fid,'long');
   count;
   bold=reshape(a_func,hz,zz,p);
   fclose(fid);
   end

function [ output_args ] = jinxi_chuli( path,p,hz,zz,t,w)