Does SPM12 work on MATLAB version 2020b?

1 visualización (últimos 30 días)
Alouki Shah
Alouki Shah el 4 de Abr. de 2020
Comentada: Lizhao Du el 4 de Feb. de 2021
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 comentarios
Walter Roberson
Walter Roberson el 2 de Oct. de 2020
I would expect that you would have to invoke spm12
Lizhao Du
Lizhao Du el 4 de Feb. de 2021
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.

Iniciar sesión para comentar.

Respuestas (1)

Jack Foucher
Jack Foucher el 21 de Sept. de 2020
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 comentario
Marit Lobben
Marit Lobben el 2 de Oct. de 2020
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?

Iniciar sesión para comentar.

Categorías

Más información sobre Call C++ from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by