How do you open a .xlsx file in excel from matlab.
Show older comments
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 Comment
MD Anower Hossain
on 26 Oct 2020
its very easy just type
xlsread('the name location of xlsx file or name the file');
Accepted Answer
More Answers (3)
Lingfei Tang
on 2 Sep 2018
Edited: Lingfei Tang
on 2 Sep 2018
2 votes
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.
ryan
on 27 Mar 2013
0 votes
noda farfosha
on 12 Jul 2017
0 votes
how can i collect more than workspace in only one?
Categories
Find more on Data Import from MATLAB 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!