Convert [4,5] to D5 for excel write
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a loop that continuously generates data that gets written one at a time. Problem is that the cell that gets called is named as a spot in a matrix ie 4,5. In order to excel write i need to say D5.
Any ideas?
Thanks
0 个评论
采纳的回答
Walter Roberson
2013-6-3
Convert to base 26, add 1 to each digit, and use the result to index 'A':'Z' to find the characters.
0 个评论
更多回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!