How do I write, while using XLSWRITE to capture a column matrix at particular column of excel file.

1 次查看(过去 30 天)
In using range we need to specify the end limit as well in my case which is variable one. For example I have 125482x1 matrix I don't wanna specify every time the end limit of the column like B1:B125482. I just want to say write in B column.
TIA

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2016-8-1
A=randi(10,10,1)
xlswrite('fic1.xlsx',A,'B:B')

标签

Community Treasure Hunt

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

Start Hunting!

Translated by