Does SPM12 work on MATLAB version 2020b?
1 回表示 (過去 30 日間)
古いコメントを表示
Does SPM12 work on MATLAB version 2020b?
I have tried to setpath and the spm still gives an error as "Unrecognized function or variable 'spm' "
3 件のコメント
Lizhao Du
2021 年 2 月 4 日
I have tried SPM12 on MATLAB 2020a and it worked well.
However it did not work on 2020b
UI error, unrecognized function of variable 'spm_menu' etc.
回答 (1 件)
Jack Foucher
2020 年 9 月 21 日
Have similar problem when trying to run spm
I changed cell2mat and it worked...
you can try to copy-paste this :
best
JF
try
for i=1:size(C,1)
for j=1:size(C,2)
M(i,j) = C{i,j};
end;
end;
catch
assignin ('base','C',C);
if size(C) == [1 1]
M = C{1};
else
disp('cell2mat: A voir')
end
end
1 件のコメント
Marit Lobben
2020 年 10 月 2 日
I copy-pasted the script above and MATLAB 2020b still returned Unrecognized function or variable 'C' to me. Were you able to open SPM12 in MATLAB 2020b yourself? In case, how?
参考
カテゴリ
Help Center および File Exchange で Call C++ from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!