Effacer les filtres
Effacer les filtres

Xlswrite into one column

5 vues (au cours des 30 derniers jours)
Suzanne Harley
Suzanne Harley le 3 Fév 2015
Réponse apportée : dpb le 3 Fév 2015
I have code that loops through the rows in a table and returns a values from them. How would I write each value into a column, with val1 being in row 1, val2 in row 2, etc?

Réponses (1)

dpb
dpb le 3 Fév 2015
Fastest will be to collect the array and do the write in "one swell foop"...
xlswrite('yourExcelFile',val(:))
NB: the (:) ensures the val array is column-oriented.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by