Print array value into excel

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by