GUI create an excel file popup
6 ビュー (過去 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 で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!