I have saved a cfg_dep that is displayed like this in matlab:
dep = cfg_dep object: 1-by-1
tname: 'Select GCM_*.mat'
tgt_exbranch: [0×0 struct]
tgt_input: [0×0 struct]
tgt_spec: {[1×2 struct]}
jtsubs: [0×0 struct]
sname: 'Specify group: GCM mat File(s)'
src_exbranch: [1×10 struct]
src_output: [1×1 struct]
I then load it and display it in spm-python:
In [1]: fromspmimportRuntimeIn [2]: dep=Runtime.call('load', 'dep.mat').depInitializingMatlabRuntime...
WARNING: packagesun.awt.X11notinjava.desktopWARNING: packagesun.awt.X11notinjava.desktopIn [3]: depOut[3]: <spm.__matlabbatch.cfg_dep.cfg_depat0x1659e87c0>In [4]: Runtime.call('disp', dep, nargout=0)
cfg_depobject: 1-by-1tname: 'Target'tgt_exbranch: [0x0struct]
tgt_input: [0x0struct]
tgt_spec: {}
jtsubs: [0x0struct]
sname: [1x1struct]
src_exbranch: [0x0struct]
src_output: [0x0struct]
I have saved a cfg_dep that is displayed like this in matlab:
I then load it and display it in spm-python: