-
I have a very basic question. I tried to set MATLABPATH when calling docker run to point to a mounted folder. The goal is to have certain scripts/toolboxes available without having to set up the path each time. This did not work, since Matlab will not see my environment variable. Is there a way around this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Dear @JonteP, Here is an example how to set the MATLABPATH: add this to your ~/.bashrc in Neurodesktop:
Now, when you start Matlab from the Application menu, the variable MATLABPATH is available for matlab: |
Beta Was this translation helpful? Give feedback.
Dear @JonteP
That works as well.
however, you need to make sure that the matlab path is visible for the matlab container inside neurodesktop. By default this is everything in the homedirectory and /data
so, this would work: