How to store data in a specific row and column from matlab to an excel
4 次查看(过去 30 天)
显示 更早的评论
That is i want to 5 4 6 1 In each different rows and 4 6 1 8 In each different columm All these values will be inserted one by one using an edit box
0 个评论
采纳的回答
Quentin Garçon
2019-6-6
I think you can just use the function xlswrite. With this syntax, you can specify a range using the syntax 'C1:C2', where C1 and C2 are opposing corners of the region.
2 个评论
Quentin Garçon
2019-6-7
Well you are the one choosing where Matmab is writing in the file, so you just have to be careful not to say twice the same location or else it will delete the first thing.
Make sure that you always put different places.
However, I have just realized that you shoul read the writematrix documentation maybe instead of the xlswrite. I have always used xlswrite but is not recommended anymore since the R2019a release.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!