code: def _run_interface(self, runtime):
      d = dict(
          in_file=self.inputs.in_file, out_file=self.inputs.out_file
      )
      # This is your MATLAB code template
      script = Template(
          """in_file = '$in_file';
                               out_file = '$out_file';
                               ConmapTxt2Mat(in_file, out_file);
                               exit;
                            """
      ).substitute(d)
  
      # mfile = True  will create an .m file with your script and executed.
      # Alternatively
      # mfile can be set to False which will cause the matlab code to be
      # passed
      # as a commandline argument to the matlab executable
      # (without creating any files).
      # This, however, is less reliable and harder to debug
      # (code will be reduced to
      # a single line and stripped of any comments).
      mlab = MatlabCommand(script=script, mfile=True)
      result = mlab.run()
      return result.runtime
  
file_path: nipype/doc/devel/matlab_example1.py
imports: from nipype.interfaces.matlab import MatlabCommand
  from nipype.interfaces.base import TraitedSpec, BaseInterface, BaseInterfaceInputSpec, File
  import os
  from string import Template
label_desc: Use image node_id 1 for calling the ConmapTxt2Mat obj's underlying member method code with example usage: obj._run_interface(runtime) and returns: result