How can I open an Excel file from a push button in GUI of Matlab?
1 回表示 (過去 30 日間)
古いコメントを表示
I have this push button called "Datos mecánicos conductores", and when pushing it I want an Excel file to open, so that I can modify some cells of it.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161970/image.png)
2 件のコメント
Gordon
2016 年 4 月 20 日
In the callback for that button you can use the command
winopen 'YourFile.xlsx'
Walter Roberson
2016 年 4 月 20 日
Gordon, you should post that as an Answer, as it is correct.
You would probably be better off using function form, though,
winopen('YourFile.xlsx')
回答 (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!