MATLAB xlswrite function
显示 更早的评论
Hello all MATLAB users:
This came to my attention,
>> x = [inf 3 4 inf];
>> xlswrite('test',x,'test');
if you open the .xls file you will notice that the inf value in xls is the "magic" number 65535.
Does anyone know the reason?
采纳的回答
更多回答(2 个)
Kenneth Eaton
2011-1-28
1 个投票
Excerpt:
- Excel converts Inf values to 65535. MATLAB converts NaN values to empty cells.
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!