Hi SPM team,

when trying to estimate just a GCM file, I get the following error with the lastest spm12 version and Matlab2017b.

Running 'DCM estimation'
Failed  'DCM estimation'
Field assignment to a non-structure array object.
In file "C:\Users\SPM\spm12\config\spm_cfg_dcm_est.m" (v7153), function "spm_run_dcm_est" at line 323.
The following modules did not run:
Failed: DCM estimation
Error using 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 #1
------------------

It seems, this error does not occur in Matlab2014a, where a warning occurs though:

 Warning: Struct field assignment overwrites a value with class "char". See MATLAB R14SP2 Release Notes, Assigning Nonstructure Variables As Structures
Displays Warning, for details. 
> In spm_cfg_dcm_est>spm_run_dcm_est at 323
  In matlabbatch\private\cfg_run_cm at 29
  In cfg_util>local_runcj at 1688
  In cfg_util at 959
  In spm_jobman>fill_run_job at 469
  In spm_jobman at 247 

It seems that the feature of overwriting a char value with a struct field assignment has been removed in the latest Matlab version. But you may look into this in more detail. A fix would also be nice. 

greetings

David