GeoEco.Matlab.MatlabFunctions.Initialize

classmethod MatlabFunctions.Initialize(loggingQueue=None, revertPathChanges=False)

Initializes MATLAB and binds a staticmethod() to MatlabFunctions for each GeoEco MATLAB function.

Parameters:
  • loggingQueue (Queue, optional) – multiprocessing.queues.Queue object to which logging messages should be posted. If not given, messages will be logged to the GeoEco logger with Python’s logging module.

  • revertPathChanges (bool, optional) – If True, any changes made to the PATH environment variable that were needed to initialize MATLAB will be reverted before this function returns. If False, the default, changes to PATH will not be reverted. Because subsequent calls to MATLAB functions could need to load additional MATLAB libraries, we recommend that the changes to PATH not be reverted.