code: def reckon(
      eng,
      matmap3d: bool,
      lat1: float,
      lon1: float,
      srng: float,
      az: float,
  ) -> tuple[float, float]:
      """Using Matlab Engine to do same thing as Pymap3d"""
  
      if matmap3d:
          return eng.matmap3d.vreckon(lat1, lon1, srng, az, nargout=2)
  
      return eng.reckon(
          "gc", lat1, lon1, srng, az, eng.wgs84Ellipsoid(), nargout=2
      )
  
file_path: pymap3d/src/pymap3d/tests/test_matlab_vreckon.py
imports: from __future__ import annotations
  from math import nan
  import pytest
  from pytest import approx
  import pymap3d.vincenty
label_desc: Use image node_id 1 for calling a global function with example usage: reckon(eng, matmap3d, lat1, lon1, srng, az) and returns: eng, eng