CAT12 Toolbox Won't Launch and Displaying an Error Message

11 次查看(过去 30 天)
I have downloaded SPM12 and unzipped and installed cat12 in the spm12 toolbox folder. This shows up but when I try to press on it to launch CAT12 I receive the following error:
SPM present working directory:
/rds/projects/f/farrowe-prescient-eeg-analysis/MRI/Dechante/spm12
Error using spm('TBlaunch',get(gcbo,'UserData'),get(gcbo,'Value')-1), set(gcbo,'Value',1)
Invalid use of operator.
Error in spm (line 954)
evalin('base',xTB(i).prog);
Error while evaluating UIControl Callback.
If anyone could help me I would really appreciate it

回答(1 个)

Anagha Mittal
Anagha Mittal 2024-7-23
Hi,
I understand you are receiving a path related error while launching CAT12.
There could various reasons as follows for this behaviour:
1. Please ensure that CAT12 is added to the MATLAB path. Use the following commands to do the same:
>> addpath('/path/to/spm12');
>> addpath('/path/to/spm12/toolbox/cat12');
>> savepath;
You may refer to the documentation of "addpath" for more information:
2. Since you haven't provided any information regarding the version, please make sure that you are using a compatible version of MATLAB with CAT12 and SPM12. Refer to the following to get the list of compatible versions:
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 MRI 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by