code: def matlab_engine():
      """
      only cached because used by Pytest in multiple tests
      """
      cwd = Path(__file__).parent
      eng = matlab.engine.start_matlab("-nojvm")
      eng.addpath(eng.genpath(str(cwd)), nargout=0)
      return eng
  
file_path: pymap3d/src/pymap3d/tests/matlab_engine.py
imports: import functools
  from pathlib import Path
  from datetime import datetime
  import matlab.engine
label_desc: Use image node_id 1 for calling a global function with example usage: matlab_engine() and returns: eng