How to insert multiple spreadsheets to a workbook from Matlab
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    wangm
 el 29 de Jul. de 2020
  
    
    
    
    
    Editada: Walter Roberson
      
      
 el 28 de Sept. de 2020
            Matlab provide a method to insert one spreadsheet:  using the command 
eNewSheet = Add(eSheets,[],eSheet1);
However, if I know I need to add multiple spreadsheets, e.g. 5,  is there a way to tell Add comment, or I have to do a for loop to insert 5 sheets?
Thanks
0 comentarios
Respuesta aceptada
  Michael Croucher
      
 el 28 de Sept. de 2020
        You can add the number of sheets as an extra argument.  So, for 5 sheets:
eNewSheet = Add(eSheets,[],eSheet1,5);
1 comentario
Más respuestas (0)
Ver también
Categorías
				Más información sobre Loops and Conditional Statements 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!

