Dear Leian,
first of all: If you copy the folder into the SPM toolbox subfolder, there is no need to explicitly set the path because it will be automatically prepended when starting SPM (if I remember correctly).
Do the files and folders of MRTool appear in the directory level directly under the MRTool folder level? If the files are hidden in another subdirectory instead (depending on how the archive was unzipped), SPM will not recognize the tbx_cfg_mrtool.m file appropriately.
Best wishes,
Marcel
Hi Marcel,
Thank you very much! Your advice has been very helpful to me!
There are two subfolders in the mrtool-v1.4.3 folder, causing SPM to not recognize the “tbx_cfg_mrtool.m” file directly, which is the cause of the error, and then the smooth installation succeeded