load participant ID from a text file报错

Submitted by yyqf on
load participant ID from a text file报错,麻烦帮忙解决一下,非常感谢!
 
Error using textscan
Name-value pair arguments must come in pairs.
 
Error in DPARSFA>LoadSubIDFromTextFile (line 460)
            IDCell = textscan(fid,'%s','\n');
 
Error in gui_mainfcn (line 95)
        feval(varargin{:});
 
Error in DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating Menu Callback

 

YAN Chao-Gan

Sun, 11/20/2016 - 04:19

This is a compatibility issue of matlab 2014b. 

You can revise Line 462 in DPARSFA.m

from 

IDCell = textscan(fid,'%s','\n');

to 

IDCell = textscan(fid,'%s\n');

Attachment Size
load participant ID from a text file报错 933 bytes