Problem with SPM12

14 次查看(过去 30 天)
Dell
Dell 2018-11-7
回答: Weiqing 2025-4-9
Hello,
Please i have this message when i open SPM tools box
Please how can i fix that.
Error using spm_check_installation>check_basic (line 66)
You do not appear to have the MATLAB search path set up
to include your SPM12 distribution. This means that you
can start SPM in this directory, but if your change to
another directory then MATLAB will be unable to find the
SPM functions. You can use the pathtool command in MATLAB
to set it up.
addpath C:\Program Files\MATLAB\ToolBoxes-20181106T221851Z-001\ToolBoxes\SPM\spm12
For more information, try typing the following:
help path
help pathtool
Error in spm_check_installation (line 28)
check_basic;
Error in spm (line 290)
spm_check_installation('basic');

采纳的回答

Walter Roberson
Walter Roberson 2018-11-7
Give the command
addpath C:\Program Files\MATLAB\ToolBoxes-20181106T221851Z-001\ToolBoxes\SPM\spm12
savepath
  2 个评论
Dell
Dell 2018-11-7
I give this command in matlab??
Dell
Dell 2018-11-7
I do it thank you

请先登录,再进行评论。

更多回答(4 个)

Dell
Dell 2018-12-4
Hello,
Please i have this message on matlab windows when i run specify 1st-level on SPM
Please how can i fix that
Running 'fMRI model specification'
Failed 'fMRI model specification'
Error using spm_run_fmri_spec (line 321)
Length of regressor is not commensurate with data points.
In file "C:\Program Files\MATLAB\ToolBoxes-20181106T221851Z-001\ToolBoxes\SPM\spm12\config\spm_run_fmri_spec.m" (v6372), function "spm_run_fmri_spec" at line 321.
The following modules did not run:
Failed: fMRI model specification
  3 个评论
rong
rong 2022-11-25
Have u fix it? I met the same question.
rong
rong 2022-11-25
During the analysis named GLM, and this is on the 39.2.1 SPM12 manual.

请先登录,再进行评论。


Dell
Dell 2018-12-5
I observe it when i running specify 1st level on SPM and on the batch editor i see fMRI
  1 个评论
Walter Roberson
Walter Roberson 2018-12-5
It happens immediately after you click on "specify 1st level" ?

请先登录,再进行评论。


Dell
Dell 2018-12-5
No, when i running 'specify 1st level" on the batch editor.
And on the batch editor i have fMRI model specification

Weiqing
Weiqing 2025-4-9
I meet the same problem too, do you fix it?

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by