GeoEco.Matlab.MatlabFunctions.Initialize
- classmethod MatlabFunctions.Initialize(loggingQueue=None, revertPathChanges=False)
Initializes MATLAB and binds a
staticmethod()toMatlabFunctionsfor each GeoEco MATLAB function.- Parameters:
loggingQueue (
Queue, optional) –multiprocessing.queues.Queueobject to which logging messages should be posted. If not given, messages will be logged to theGeoEcologger with Python’sloggingmodule.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.