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

How to install MATLAB on lab computers with mulitple users #28

Open
sg-s opened this issue Apr 6, 2021 · 2 comments
Open

How to install MATLAB on lab computers with mulitple users #28

sg-s opened this issue Apr 6, 2021 · 2 comments
Assignees
Labels
Improvement Improvement to something in the lab

Comments

@sg-s
Copy link
Member

sg-s commented Apr 6, 2021

  1. Install MATLAB only once, in the default install location
  2. Set up shortcuts to point to MATLAB
  3. Configure pathdef as follows:

(communication from Mathworks)

The location of the the pathdef.m file can be changed for each user; it does not need to be stored in the MATLAB installation directory.

A good place to store an individual user's pathdef file is user's MATLAB working directory. The default location for this is ~/Documents/MATLAB/. The userpath command returns actual value.

To store a copy of the pathdef.m for that user

  1. Run the command

savepath(fullfile(userpath,'pathdef.m'))
This saves a copy of pathdef to the userpath.

  1. Then use the Set Path button in MATLAB and ensure that user's userpath is included at the top of the path list. Thus MATLAB will pick up the customized pathdef.m on restart.

Each user will have to complete these steps one time.

@sg-s sg-s added the Improvement Improvement to something in the lab label Apr 6, 2021
@cosmojg
Copy link
Collaborator

cosmojg commented Apr 7, 2021

I'm a little confused. Would you like someone to take action on this or are you sharing it here as a reference for future installations?

@sg-s
Copy link
Member Author

sg-s commented Apr 7, 2021

i guess as reference for future, but if you wanted to do this pro-actively, that would work too...

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

No branches or pull requests

3 participants