What is code for opening excel document in Matlab GUI for macbook?
Show older comments
What is code for opening excel document in Matlab GUI for macbook?
Answers (2)
Guillaume
on 7 Jul 2016
0 votes
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
on 10 Jul 2016
0 votes
1 Comment
Walter Roberson
on 10 Jul 2016
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()
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!