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

Create top level NDI folder on MATLAB's userpath #241

Open
ehennestad opened this issue Nov 21, 2023 · 2 comments
Open

Create top level NDI folder on MATLAB's userpath #241

ehennestad opened this issue Nov 21, 2023 · 2 comments

Comments

@ehennestad
Copy link
Collaborator

NDI saves some folders and files directly to the user path, and it might be better to group them in an NDI top-level folder

@stevevanhooser
Copy link
Contributor

Hi Eivind -

Are you talking about

[userpath '/Documents/NDI'] ?

I was trying to think of a place to put logs and preferences that wouldn't necessary get replaced if one upgraded or reinstalled the software. I don't know if there is a great place in Matlab to put these things.

Do you think it's better to put them in

[NDI_root '/Documents/' ] etc?

Thanks
Steve

@ehennestad
Copy link
Collaborator Author

ehennestad commented Nov 21, 2023

Yes, sorry for not being more specific.

In the userpath, I have the following folders:

Documents
Preferences
tools

Since all of these are related to the installation of NDI I thought it might be good to place them in a top level folder called NDI. I think placing them on the userpath is the right choice, although maybe preferences can be saved to the prefdir instead. Practically, I think the only difference of using prefdir and user path is that there is one prefdir location for each release of MATLAB, so users with multiple different MATLAB releases on their system can have separate preferences for each release.

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

No branches or pull requests

2 participants