How do you open a .xlsx file in excel from matlab.
    267 ビュー (過去 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!









