class_docstr: Extends `BaseInterface` class to implement SPM specific interfaces.
  
  WARNING: Pseudo prototype class, meant to be subclassed
class_docstr_tok: ["Extends","`","BaseInterface","`","class","to","implement","SPM","specific","interfaces",".","WARNING",":","Pseudo","prototype","class",",","meant","to","be","subclassed"]
docstr: Executes the SPM function using MATLAB.
code: def _run_interface(self, runtime):
      """Executes the SPM function using MATLAB."""
      self.mlab.inputs.script = self._make_matlab_command(
          deepcopy(self._parse_inputs())
      )
      results = self.mlab.run()
      runtime.returncode = results.runtime.returncode
      if self.mlab.inputs.uses_mcr:
          if "Skipped" in results.runtime.stdout:
              self.raise_exception(runtime)
      runtime.stdout = results.runtime.stdout
      runtime.stderr = results.runtime.stderr
      runtime.merged = results.runtime.merged
      return runtime
  
imports: import os
  from copy import deepcopy
  from nibabel import load
  import numpy
  from ...None import logging
  from ...utils import spm_docs
  from ..base import BaseInterface, traits, isdefined, InputMultiPath, BaseInterfaceInputSpec, Directory, Undefined, ImageFile, PackageInfo
  from ..base.traits_extension import NoDefaultSpecified
  from ..matlab import MatlabCommand
  from ...external.due import due, Doi, BibTeX
label_desc: Use image node_id 9 for calling the SPMCommand obj's underlying member method code with example usage: obj._run_interface(runtime) and returns: runtime