Effacer les filtres
Effacer les filtres

how to write xlswrite command in a loop such that after every loop, the row increments.

1 vue (au cours des 30 derniers jours)
usama amjid
usama amjid le 10 Juil 2015
Modifié(e) : usama amjid le 10 Juil 2015
the program currently stores the values in a ".out" extension. need to store the output to an excel file also. how to add loop such that each calculated value of A gets stored in the next row.
filename = 'testdata.xlsx';
A = [tsince ro(1) ro(2) ro(3) vo(1) vo(2) vo(3)];
sheet = 1;
xlRange = 'A1';
xlswrite(filename,A,sheet,xlRange);
  1 commentaire
usama amjid
usama amjid le 10 Juil 2015
Modifié(e) : usama amjid le 10 Juil 2015
i tried using
xlRange = 'A1:H10';
but it resulted in the last calculated value to be repeating in all rows from top to bottom.

Connectez-vous pour commenter.

Réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by