Filter löschen
Filter löschen

Row Range in writetable MATLAB

14 Ansichten (letzte 30 Tage)
MakM
MakM am 28 Dez. 2021
Bearbeitet: Voss am 28 Dez. 2021
I want to write the table from A1 column but the table should start from the second row of the excel. TT is my table, and I want to write the TT to the filename from row 2. How can I give the range for the rows in this function. Thanks.
Edit: Just put A2 instead of A1 if you want to start from row 2.
writetable(TT,filename,'Sheet',3,'Range','A1');
  1 Kommentar
Voss
Voss am 28 Dez. 2021
Bearbeitet: Voss am 28 Dez. 2021
Did you try
writetable(TT,filename,'Sheet',3,'Range','A2');
?
Please attach a sample file that you get from calling writetable() and also one that you have manually edited to be the way you want it. (They don't have to contain your actual data.) Then someone can figure out the correct way to call writetable() so you get the desired result.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Tables 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!

Translated by