필터 지우기
필터 지우기

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 CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by