Running MatLab in Python error
2 views (last 30 days)
I am trying to follow the advice here to execute a custom Matlab function in Python.
Running the following code in Python (Spyder):
eng = matlab.engine.start_matlab()
gives me this error:
Warning: Name is nonexistent or not a directory
I can confirm that '/Users/username/Desktop/spiray_array_model/matlab' is indeed a directory.
Is this because I am running from an IDE (Spyder) ? Or am I missing something else?