code: def clean_workspace_and_get_default_script_file():
      # Make sure things are clean.
      default_script_file = mlab.MatlabInputSpec().script_file
      if os.path.exists(default_script_file):
          os.remove(
              default_script_file
          )  # raise Exception('Default script file needed for tests; please remove %s!' % default_script_file)
      return default_script_file
  
file_path: nipype/nipype/interfaces/tests/test_matlab.py
imports: import os
  import pytest
  import nipype.interfaces.matlab
label_desc: Use image node_id 1 for calling a global function with example usage: clean_workspace_and_get_default_script_file() and returns: default_script_file