フィルターのクリア

uiputfile error using R2013a on Windows 7

1 回表示 (過去 30 日間)
Brian
Brian 2013 年 8 月 13 日
When my code skips the function that creates the GUI:
[FILENAME_TXT,PATHNAME_TXT] = uiputfile('.txt', 'Select location and title of text file.');
and outputs
FILENAME_TXT = 0 PATHNAME_TXT = 0
This error did not occur using earlier versions of MATLAB on Windows XP.
Thank you for any assistance with this issue.
  2 件のコメント
Walter Roberson
Walter Roberson 2013 年 8 月 13 日
That is expected if the uiputfile() is canceled.
Brian
Brian 2013 年 8 月 30 日
Sorry about the delayed reply. I was able to get the program to work randomly after repeated tries or by editing the code for FILENAME_TXT to the file name and PATHNAME_TXT to the path name. I never even had the opportunity to click the Cancel button, since the GUI never appeared.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDialog Boxes についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by