Problem with SPM12

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');

 采纳的回答

Give the command
addpath C:\Program Files\MATLAB\ToolBoxes-20181106T221851Z-001\ToolBoxes\SPM\spm12
savepath

2 个评论

I give this command in matlab??
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 个评论

It appears that you might be invoking spm, and selecting fmri, and then asking to specify 1st level. But what step do you take at the batch editor that you get, that triggers the problem you are observing?
Have u fix it? I met the same question.
During the analysis named GLM, and this is on the 39.2.1 SPM12 manual.

请先登录,再进行评论。

Dell
Dell 2018-12-5

0 个投票

I observe it when i running specify 1st level on SPM and on the batch editor i see fMRI

1 个评论

It happens immediately after you click on "specify 1st level" ?

请先登录,再进行评论。

Dell
Dell 2018-12-5

0 个投票

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

0 个投票

I meet the same problem too, do you fix it?

类别

帮助中心File Exchange 中查找有关 Neuroimaging 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by