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

Support non-default MATLAB installations via MATLAB_HOME envvar #32

Open
wants to merge 1 commit into
base: R2023a
Choose a base branch
from

Conversation

zebrapurring
Copy link

@zebrapurring zebrapurring commented Aug 3, 2023

The documentation mentions that it is possible to use MATLAB from a non-standard location:

When MATLAB is not installed in the default location, the bin/architecture directory within the MATLAB root directory must be added to an environment variable. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).

However, the user has no way to tell the package where this installation is located.

This change adds support for reading environment variable MATLAB_HOME to be able to specify the directory containing the application, and defaults to /Applications on macOS and /usr/local on Linux when the variable is not defined.

@zebrapurring zebrapurring force-pushed the support_matlab_home_env branch from 313c708 to 4f6a256 Compare August 3, 2023 16:22
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

Successfully merging this pull request may close these issues.

1 participant