Epileptogenicity, error using 'spm_run_con'

When I am running the surface EI, I keep getting this error I have pasted below. How do I rectify this??

24-Jan-2026 13:58:04 - Running 'Contrast Manager'

# SPM12: spm_contrasts.m                             13:58:04 - 24/01/2026

Contrasts folder                        :  .\SPM_EI_attack1-1_40_120_3_1
24-Jan-2026 13:58:04 - Failed  'Contrast Manager'
Error using spm_run_con
This model has not been estimated.
In file "D:\spm12\config\spm_run_con.m" (v7738), function "spm_run_con" at line 34.

The following modules did not run:
Failed: fMRI model specification
Failed: Model estimation
Failed: Contrast Manager

---

** Error: [process_epileptogenicity]  Epilepsy > Epileptogenicity maps (A=Baseline,B=Seizure)
** Line 0:  MATLABbatch system
** Job execution failed. The full log of this run can be found in MATLAB command window, starting with the lines (look for the line showing the exact #job as displayed in this error message)
** ------------------
** Running job #4
** ------------------
**
**
** Call stack:
** >.m>MATLABbatch system at 0
**
**

Hi @Vishwanath,

The (surface) Epileptogenicity process is working well. Check the following:

  1. Were you able to run without troubles the epileptogenicity tutorial with the provided data?
    neuroimage.usc.edu/brainstorm/Tutorials/Epileptogenicity

    In the shared error message it indicates that you are using SPM12 from a local installation instead from the the Brainstorm plugin, this is not a problem if using the latest SPM12.

  2. If you were successful in the point above, please provide more details on the data you are analyzing.

  • Screenshot of the Subject anatomy
  • Screenshot of the Subject functional data
  • Screenshot of the parameters used in the epileptogenicity process

SPM is up to date (v7771). I tried with multiple subjects an I am getting the same error. The volume EI works but the surface EI does not.

Ok it is working. I just removed all paths and re-added them and it was fine. Thank you!