bastibe / transplant

Transplant is an easy way of calling Matlab from Python
https://transplant.readthedocs.io
Other
110 stars 26 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'matlab': 'matlab' #101

Open BankGuide2024 opened 2 years ago

BankGuide2024 commented 2 years ago

I get an error when I execute the following code on ubuntu, what should I do?

import transplant
import sys
import numpy as np
sys.setrecursionlimit(30000)
matlab = transplant.Matlab(jvm=False, desktop=False)
matlab.disp("Hello, World")
bastibe commented 2 years ago

Is matlab installed, and is the matlab binary in your $PATH?