MATLAB EXCEL
1 次查看(过去 30 天)
显示 更早的评论
Hello guys!
For example:
This code will insert my name in A1 cell in Excel:
xlswrite('test.xls',{'Aldin'},1,'A1');
Right? But what is if i will to remove my name from A1 cell. Is there a function in MATLAB for removing data from Excel? And also for updating.....
Thanks.
0 个评论
采纳的回答
Sean de Wolski
2011-12-16
From:
doc xlswrite
I would actually conclude the opposite, and that it can be done easily:
MATLAB converts NaN values to empty cells
更多回答(1 个)
the cyclist
2011-12-16
I don't know how to delete the contents, but one effective solution might be to write an empty cell:
>> xlswrite('test.xls',{''},1,'A1');
2 个评论
the cyclist
2011-12-16
I do not use Excel via MATLAB much, because the functionality is crippled on a Mac. I would NOT conclude that it cannot be done, just based on my one answer.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!