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

failed to start matlab session from a certain location #226

Open
verenamueller opened this issue Oct 15, 2015 · 3 comments
Open

failed to start matlab session from a certain location #226

verenamueller opened this issue Oct 15, 2015 · 3 comments

Comments

@verenamueller
Copy link

hey there,
I want to start a certain Matlab version cause I just have licence for R2010b but also installed R2013b on my device. So when I start the session with the default command -mlab=Matlab()- it wants to start R2013b, but without licenc I can't use it. And when I try - mlab=Matlab(executable='C:\Program Files\MATLAB\R2010b\bin\matlab.exe') - the Server starts but nothing happens!

Starting MATLAB on ZMQ socket tcp://127.0.0.1:58782
Send 'exit' command to kill the server
............................................................MATLAB session timed out after 60 seconds
Traceback (most recent call last):
File "<pyshell#6>", line 1, in
mlab.start()
File "C:\Python34\lib\site-packages\pymatbridge-0.6.dev0-py3.4.egg\pymatbridge\pymatbridge.py", line 227, in start
raise ValueError("%s failed to start" % self._program_name())
ValueError: MATLAB failed to start

I use Windows 7 x64-based PC - python 3.4 - pyzmq 14.7.0

Thanks in advance,
Verena

@isbadawi
Copy link
Collaborator

Have you tried escaping the backslashes, e.g.

'C:\\Program Files\\MATLAB\\R2010b\\bin\\matlab.exe'

Maybe the space too, not sure if it matters in this case.

@verenamueller
Copy link
Author

Yes, I tried. But it doesn't helped either. Does this command work on Windows anyway?

@arokem
Copy link
Owner

arokem commented Oct 19, 2015

pymatbridge does work with Windows, but setup varies from computer to
computer and it is hard for us to cover all the uses.

We should be doing a release soon, and this might resolve your issues.

On Sun, Oct 18, 2015 at 11:27 PM, verenamueller [email protected]
wrote:

Yes, I tried. But it doesn't helped either. Does this command work on
Windows anyway?


Reply to this email directly or view it on GitHub
#226 (comment)
.

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

3 participants