GeoEco.Matlab.MatlabDependency.FindMatlab
- classmethod MatlabDependency.FindMatlab(setPath=False, loggingQueue=None)
Finds where MATLAB or the MATLAB Runtime is installed.
- Parameters:
setPath (
bool, optional) – If True, this function will set the the LD_LIBRARY_PATH (on Linux) or PATH (on Windows) environment variable as necessary to allow MATLAB to be accessed from Python.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.
- Returns:
Old value of the environment variable, when setPath is True. An empty string if the variable was not defined. Always
Noneif setPath is False.- Return type: