필터 지우기
필터 지우기

GUI create an excel file popup

조회 수: 1 (최근 30일)
Jenn
Jenn 2018년 2월 6일
답변: Image Analyst 2018년 2월 6일
So my Gui creates a pass/fail report. I don't need it to save the file in the folder. I actually don't want it to do that. I need it to generate a report that the user can see and then decide if they want to save it or not. I can't figure out how to make the gui pop up the results.

답변 (1개)

Image Analyst
Image Analyst 2018년 2월 6일
You can't use xlswrite() since that will write the workbook to disk. You will have to use ActiveX if you're on Windows. You can launch Excel as an ActiveX server, open a new workbook and throw your data in there, and leave Excel Open. Don't save the workbook. The user can then choose to save it or not. Attached is an ActiveX Excel demo. Adapt as needed (like take the saving command out of it).

카테고리

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