MATLAB7.0 vs. SPM5 vs. PPI
MATLAB7.0 & SPM5 进行PPI处理,有很多bug。 1. ??? Cell contents reference from a non-cell array object. Error in ==> spm_peb_ppi at 138 p = load(P{1},'xY'); ??? Error while evaluating uicontrol Callback. 文件: spm5/spm_peb_ppi.m line: 138 解决办法: 把 p = load(P{1},'xY'); 改成 p = load(P,'xY'); 2 ??? Error using ==> horzcat All matrices on a row in the bracketed expression must have the same number of rows. Error in ==> blkdiag at 38 y = [y sparse(p1(k),m2(k)); sparse(p2(k),m1(k)) varargin{k}]; Error in ==> spm_peb_ppi at 219 Q = blkdiag(Q, speye(M,M)*1e6 ) ; ??? Error while evaluating uicontrol Callback. 解决办法: http://www.mathworks.com/support/solutions/data/1-OYEGG.html?solution=1-OYEGG 3 ??? Cell contents assignment to a non-cell array object. Error in ==> D:\hehe\spm\spm5\spm_peb_ppi.m On line 227 ==> P{1}.X = [W*Hxb X0];% Design matrix for lowest level ??? Error while ev