Using GUI to saving/loading directory.
2 views (last 30 days)
Show older comments
Hi, I have a question.
I'm writing a scripts that converts data files, after that I'm converting them to exe files using deploytool.
Can I add to them a GUI interface, that would choose a loading and saving directory on hard drive?
Thanks.
0 Comments
Answers (2)
John Petersen
on 5 Feb 2013
Put this in your callback
[filedat,pathdat] = uigetfile('*.dat','Select a Data File');
Then you can import the file and do what you want with it.
Image Analyst
on 6 Feb 2013
Sure. You can use something like MAGIC to list your files in a listbox to make it convenient for your users to specify files.
0 Comments
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!