GUI create an excel file popup
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
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).
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 ActiveX에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!