Print array value into excel

1 Ansicht (letzte 30 Tage)
vinothkannan K
vinothkannan K am 3 Dez. 2013
Kommentiert: vinothkannan K am 3 Dez. 2013
Hi,
I have an integer value in one variable 'sno', i want to print that values like an array.
ex: if sno == 7 means i want to print from 1 to 7
help me in this
thanks in advance

Akzeptierte Antwort

ES
ES am 3 Dez. 2013
You want to write this into an Excel File?
ExcelData=[1:7]';
xlswrite(ExcelFileName,ExcelData);
will do.

Weitere Antworten (0)

Kategorien

Mehr zu Data Import from 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!

Translated by