フィルターのクリア

XLSWRITE

6 ビュー (過去 30 日間)
Aman
Aman 2012 年 3 月 22 日
How can I prompt the user to give a new filename so that when I want to use XLSwrite it can use that specified filename?
Appreicate the help!

採用された回答

Oleg Komarov
Oleg Komarov 2012 年 3 月 22 日
name = inputdlg('Name excel file as: ','Name excel',1);
  1 件のコメント
Aman
Aman 2012 年 3 月 23 日
thanks a lot everyone!

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

その他の回答 (2 件)

Wayne King
Wayne King 2012 年 3 月 22 日
filename = input('Enter the file name:\n','s');

Geoff
Geoff 2012 年 3 月 22 日
If you prefer a GUI interface, do this:
[filename, pathname] = uiputfile( ...
{'*.xls','Excel spreadsheet (*.xls)'; '*.*', 'All files (*.*)'}, ...
'Save spreadsheet as' );

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by