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

Should the MATLAB GUI be displayed by default? #5

Open
hinerm opened this issue Sep 9, 2016 · 1 comment
Open

Should the MATLAB GUI be displayed by default? #5

hinerm opened this issue Sep 9, 2016 · 1 comment

Comments

@hinerm
Copy link
Member

hinerm commented Sep 9, 2016

It needs to be decided whether or not the MATLAB GUI is displayed by default.

On one hand, if the GUI isn't displayed then any state is lost after the MATLAB script ends. So if something does not return as intended there is no way to go back and play with the intermediate outputs of a script.

On the other hand, displaying the GUI takes extra time.

A user can always toggle this via the MATLABOptions but may not know this configuration is available.

A potential compromise might be to treat Options classes kind of like Apps, so the first time you run when you have a new set of options to configure it automatically launches to let the user know what's available.

@ctrueden
Copy link
Member

This could go hand in hand with my idea mentioned in #6: to let each script annotate at the top how it wants to behave.

As an aside, I like this better than having Options because the Options may make a script which works on one system fail on a different system. In general, we need to move away from having global preferences whenever possible—or at least embed them in each script somehow for reproducibility.

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