Decimal point disappear when i use matlab read xlsx file. Is there anyone know how to solve this problem?
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/238120/image.png)
![Unbenannt1.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/238122/Unbenannt1.png)
3 个评论
Stephen23
2019-9-13
编辑:Stephen23
2019-9-13
As Walter Roberson wrote, confusion reagrding the decimal radix character is quite likely.
It is also obvious from the Excel screenshot that some of the "numbers" are left-aligned, whereas others "numbers" are right-aligned. That usually indicates that some of the "numbers" are not being stored as numeric values but at text (an incorrect decimal radix character or thousands separator is likely to be the cause).
The solution is to fix your Excel workbook to ensure that numbers are not stored as text.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!