python3 ./get_matlab_version.py
Getting MATLAB version... Please wait.
MATLAB not found or error getting version: [Errno 2] No such file or directory: 'matlab'
Traceback (most recent call last):
File "./get_matlab_version.py", line 20, in
major_version = re.search(r"(\d+.\d+).\d+.\d+", matlab_version.decode("utf-8")).group(1)
AttributeError: 'NoneType' object has no attribute 'decode'