How to insert multiple spreadsheets to a workbook from Matlab
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
wangm
am 29 Jul. 2020
Bearbeitet: Walter Roberson
am 28 Sep. 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 Kommentare
Akzeptierte Antwort
Michael Croucher
am 28 Sep. 2020
You can add the number of sheets as an extra argument. So, for 5 sheets:
eNewSheet = Add(eSheets,[],eSheet1,5);
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Use COM Objects in MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!