Problem using uigetfile function
显示 更早的评论
I am trying to use the uigetfile function to allow the user to open a file. When I run the code, it opens a dialog box that says 'Select File for Save As'.
Here is the code:
FileName=uigetfile;
What am I doing wrong?
Thanks,
Dave
3 个评论
CAM
2019-10-30
When I use that command as shown I get "Select file to Open". Not sure why you are getting the "save as" title. What happens if you specify text to display as an input?
David Suprak
2019-10-30
CAM
2019-10-31
No worries. Glad it worked out for you. Good luck with your coding.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Dialog Boxes 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!