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"]
code: def _matlab_cmd_update(self):
      # MatlabCommand has to be created here,
      # because matlab_cmd is not a proper input
      # and can be set only during init
      self.mlab = MatlabCommand(
          matlab_cmd=self.inputs.matlab_cmd,
          mfile=self.inputs.mfile,
          paths=self.inputs.paths,
          resource_monitor=False,
      )
      self.mlab.inputs.script_file = (
          "pyscript_%s.m"
          % self.__class__.__name__.split(".")[-1].lower()
      )
      if isdefined(self.inputs.use_mcr) and self.inputs.use_mcr:
          self.mlab.inputs.nodesktop = Undefined
          self.mlab.inputs.nosplash = Undefined
          self.mlab.inputs.single_comp_thread = Undefined
          self.mlab.inputs.uses_mcr = True
          self.mlab.inputs.mfile = True
  
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 4 for calling the SPMCommand obj's underlying member method code with example usage: obj._matlab_cmd_update() without return types