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

Added default scheme path to uigetfile dialog, with safe fallback. #34

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

Conversation

ajtrowell
Copy link

@ajtrowell ajtrowell commented Aug 27, 2021

Provided a function getSchemeDialogPathSafely() and use it to set the default folder for the uigetfile dialog box.

The function finds thisFilePath (the containing folder of schemer_import.m) and then returns thisFilePath/schemes/, or if that folder doesn't exists, then it returns thisFilePath.

Provided a function getSchemeDialogPathSafely() and use it to set the default 
folder for the uigetfile dialog box.

The function finds thisFilePath (the containing folder of schemer_import.m) and 
then returns thisFilePath/schemes/, or if that folder doesn't exists, 
then it returns thisFilePath.
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.

None yet

1 participant