transplant icon indicating copy to clipboard operation
transplant copied to clipboard

Directory error on a remote machine

Open nimamanaf opened this issue 6 years ago • 1 comments

Hi, I am trying to use the transplant module in a remote linux machine. Matlab is already installed there. How can I give the directory to the installed matlab in the remote machine? I get the floowing error after importing the module.

Best,

eng = transplant.Matlab() Traceback (most recent call last): File "", line 1, in File ".../anaconda3/lib/python3.6/site-packages/transplant/transplant_master.py", line 487, in init self.process = Popen(process_arguments, stdin=DEVNULL, stdout=PIPE) File ".../anaconda3/lib/python3.6/subprocess.py", line 707, in init restore_signals, start_new_session) File ".../anaconda3/lib/python3.6/subprocess.py", line 1326, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'matlab'

nimamanaf avatar Sep 14 '18 16:09 nimamanaf

As per the README:

If you want to use a different version of Matlab, or matlab is not in PATH, use Matlab(executable='/path/to/matlab').

bastibe avatar Sep 18 '18 11:09 bastibe