pymodalib.utils.decorators module¶
-
deprecated
(func)¶ Decorator that marks a function as deprecated, i.e. that it should no longer be used and will be removed in future.
-
matlabwrapper
(module)¶ Decorator which marks a MATLAB wrapper: a function which calls a function from a MATLAB-packaged library.
This will ensure that the required module is installed, and that the MATLAB Runtime is a valid version.
If the MATLAB Runtime seems to be installed at the default location, but the environment variables are not set, it will set the environment variables.
Parameters: module (str) – The name of the MATLAB-packaged library which is being used.