How can I fix the "Failed Factorial design specification" ?
20 views (last 30 days)
Show older comments
Dear all,
I am trying to conduct a two-way ANOVA analysis of task fMRI using SPM12 and MATLAB software version R2020a and facing a problem.
Failed 'Factorial design specification'
Error using save
Found characters the default encoding is unable to represent.
In file "/Users/haiti/Documents/MATLAB/spm12/config/spm_run_factorial_design.m" (v7739), function "spm_run_factorial_design" at line 1062.
=> line 1062: save('SPM.mat', 'SPM', fmt);
What would you recommend to fix it ?
Thank you very much for your time and consideration, highly appreciated!
Sincerely,
Haiti
2 Comments
Answers (2)
Esteban
on 3 Mar 2023
Hi, all
I have this problem. How did you solve it? It is taking me a lot time trying solve it.
Thanks a lot!
Best regards,
Esteban
0 Comments
Kseniia
on 11 May 2023
Hi!
If your main language is not English try to check if there are any non-latin characters in pathes where your contrasts or any other loaded files are stored.
Final SPM.mat store all full pathes inside and it could be the place your "characters the default encoding is unable to represent" are.
P.S. I had the same problem and changing all names to latin alphabet helped me.
0 Comments
See Also
Categories
Find more on MRI in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!