What is code for opening excel document in Matlab GUI for macbook?
显示 更早的评论
What is code for opening excel document in Matlab GUI for macbook?
回答(2 个)
Guillaume
2016-7-7
0 个投票
However, because you're on a MAC, it will use the basic mode for reading the file. There are some limitations associated which you can't avoid.
BB
2016-7-10
0 个投票
1 个评论
Walter Roberson
2016-7-10
In the Callback for the uicontrol('Style', 'button') you would have
[num, txt, raw] = xlsread('TheFile.xlsx');
Note: if you need to be able to write .xls files instead of .xlsx then see the File Exchange contribution xlwrite()
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!