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
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
David Suprak 2019 年 10 月 30 日
Cam,
I hesitate to admit this, but it turns out I had not yet saved the code. I'm sorry to waste your time. Thanks for responding, though.
Dave
CAM
CAM 2019 年 10 月 31 日
No worries. Glad it worked out for you. Good luck with your coding.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDialog Boxes についてさらに検索

製品

タグ

質問済み:

2019 年 10 月 29 日

コメント済み:

CAM
2019 年 10 月 31 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by