Open Excell file with dialog box
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi I would like to open with the dialog box an excel file that I know already the directory, how can I open?
I don't want read I would like to open microsoft excel directly
aemrep=menu('Do you want open AEM report?','Yes','No');
if aemrep==1
aemrep2=menu('click on REPORT AEM','REPORT AEM EXCEL');
if aemrep==1
%%open excell
else
end
end
댓글 수: 0
채택된 답변
Friedrich
2011년 12월 22일
Hi,
I think the winopen command helps here (as long EXCEL is associated with the file you like to open in EXCEL)
You could also use ActiveX from MATLAB to start Excel and open the file.
Or you start EXCEL with some startflag from MATLAB with the system command. Some EXCEL startup options are listed:
댓글 수: 0
추가 답변 (1개)
Robert Cumming
2011년 12월 22일
Both of the following work on my PC:
winopen ( 'filename.xls' )
system ( 'filename.xls' )
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!