code: def run_jobdef(jobdef):
      script = """
  load pyjobs;
  spm_jobman('run', jobs);
  """
      # Need initcfg for SPM8
      if spm_info.spm_ver != "SPM5":
          script = "spm_jobman('initcfg');\n" + script
      with InTemporaryDirectory():
          savemat("pyjobs.mat", jobdef, oned_as="row")
          run_matlab_script(script)
  
file_path: nipy/nipy/interfaces/spm.py
imports: import os
  import numpy
  from nibabel import load
  from nibabel.tmpdirs import InTemporaryDirectory
  from scipy.io import savemat
  from .matlab import run_matlab_script
label_desc: Use image node_id 3 for calling a global function with example usage: run_jobdef(jobdef) without return types