How do you open a .xlsx file in excel from matlab.
    283 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    ryan
      
 el 27 de Mzo. de 2013
  
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 comentario
  MD Anower Hossain
 el 26 de Oct. de 2020
				its very easy just type 
xlsread('the name location of xlsx file or name the file');
Respuesta aceptada
  Azzi Abdelmalek
      
      
 el 27 de Mzo. de 2013
        winopen('yourfile.xls')
5 comentarios
  Manish Shankar Neelgar
 el 19 de En. de 2021
				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
Más respuestas (3)
  Lingfei Tang
 el 2 de Sept. de 2018
        
      Editada: Lingfei Tang
 el 2 de Sept. de 2018
  
      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 comentarios
  noda farfosha
 el 12 de Jul. de 2017
        how can i collect more than workspace in only one?
0 comentarios
Ver también
Categorías
				Más información sobre Data Import from MATLAB en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!