fitbenchmarking.utils.matlab_engine module

Manage the persistent variables withing the matlab engine

fitbenchmarking.utils.matlab_engine.add_persistent_matlab_var(name: str) None

Manage a list of variables to keep when clearing memory.


name (str) – The variable to add to the persistent list

fitbenchmarking.utils.matlab_engine.clear_non_persistent_matlab_vars() None

Clear any non-persistent variables. That is any variable that hasn’t been added via the above method.

fitbenchmarking.utils.matlab_engine.list_persistent_matlab_vars() list[str]

Return a list of all persistent variables