Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory error on a remote machine #66

Open
nimamanaf opened this issue Sep 14, 2018 · 1 comment
Open

Directory error on a remote machine #66

nimamanaf opened this issue Sep 14, 2018 · 1 comment

Comments

@nimamanaf
Copy link

nimamanaf commented Sep 14, 2018

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'

@bastibe
Copy link
Owner

bastibe commented Sep 18, 2018

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').

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants