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

Provide alternate means to specify the install location for the MATLAB executable #3

Closed
prabhakk-mw opened this issue Jun 15, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@prabhakk-mw
Copy link
Member

prabhakk-mw commented Jun 15, 2022

Created on behalf of user

We are getting the following error message when running MATLAB Proxy:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/VersionInfo.xml'

This is because we have MATLABROOT in a different location than the default, thus the "VersionInfo.xml" file is in a different location from the original one.

We followed these steps which resulted in the error:

1. Move your MATLAB installation into some location which is not on your PATH
2. Put a script into your PATH called “matlab” that runs your MATLAB installation, but which resides in a folder which does not have "VersionInfo.xml" in it (important – this script must not be in the folder where you installed MATLAB)
3. “which matlab” now gives you the location of your custom script, and this location does not contain VersionInfo.xml.
4. The matlab-proxy app is now impossible to use because it cannot find "VersionInfo.xml" in the folder returned by “which matlab”

Questions:
1. Is there a way to override the "settings.py" function to point to the location where the "VersionInfo.xml" file is?
2. Any other ways to resolve this issue?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants