How do you open a .xlsx file in excel from matlab.
539 次查看(过去 30 天)
显示 更早的评论
I am trying to open up a .xlsx file from matlab, and have it open in excel. Right now I am using the command open(filename). This will open the .xlsx in matlab, but i want it opened in excel. The command opentxt(filename) is nice, because it will open a .txt file in notepad. I am looking for something like that for .xls/.xlsx files in excel.
1 个评论
MD Anower Hossain
2020-10-26
its very easy just type
xlsread('the name location of xlsx file or name the file');
采纳的回答
Azzi Abdelmalek
2013-3-27
winopen('yourfile.xls')
5 个评论
Manish Shankar Neelgar
2021-1-19
Thank you for letting us know about this command.
But, could you please tell me how can I open a specific sheet/sheets in excel?
Thank you
更多回答(3 个)
Lingfei Tang
2018-9-2
编辑:Lingfei Tang
2018-9-2
For Linux/MacOS it is uiopen('file.xlsx') or just open.
There is no way to open externally but there is a "macopen" function downlodable in file exchange.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!