-
Notifications
You must be signed in to change notification settings - Fork 244
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
uigetfile2 and uiputfile2 memorize previously used directories on multiuser & multisession systems #84
Labels
question
Further information is requested
Comments
@arnodelorme , should we move ahead with this? |
Yes, we should move forward. |
OK. Patch has been added in this commit |
Yep, Windows 10, MACOS and Ubuntu running MATLAB R2018b. In all seems to work fine. |
wonderful. Thanks Ramon,
Arno
… On Dec 11, 2019, at 11:12 PM, Ramon Martinez-Cancino ***@***.***> wrote:
Yep, Windows 10, MACOS and Ubuntu running MATLAB R2018b. In all seems to work fine.
R
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently uigetfile2.m and uiputfile2.m store previously used directory in a eeglab.cfg file in a /tmp directory common to all users on a computer.
This poses problems on shared computers. Users are pointed to the previous directory of whoever ran the mfile last.
Also when running several instances of matlab on a single computer, only one directory is remembered by uiputfile2 and uigetfile2.
Attached version of both files uses setpref and getpref features of matlab to set userspecific last directory. Also defines a persistent variable that allows specific values of the last directory on different instances on the same computer.
mlock is used at the beginning of the file to prevent clearing of persistent variable from memory by eeglab.
[From Max Chaumon]
The text was updated successfully, but these errors were encountered: