The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Remembering user input from an old execution
Replies: 2   Last Post: Jun 8, 2010 9:53 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Claudio Pedrazzi

Posts: 26
Registered: 8/27/09
Remembering user input from an old execution
Posted: Jun 8, 2010 9:26 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi everybody,
it's the first time that I am confronted with the following problem. I have a simple application where the user is prompted to choose a file (with uigetfile). In my specific case, this involves also changing the directory.
I would like that, the next time the same user will use the application, the default directory where he will be put will be the one chosen in this run.
Generalizing the concept, I would like to have the capability of remembering user answers and using them as defaults for the next execution of the application. Saving in a mat file is of course an option, but I don't really know "where" to save, because the application can be started from any directory.

Is there any better way? I searched the newsgroup but I probably used the wrong keywords... I did not found what I'm looking for.

Thanks a lot for any suggestions
Best Regards

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.