Decimal point disappear when i use matlab read xlsx file. Is there anyone know how to solve this problem?

4 ビュー (過去 30 日間)
Sam
Sam 2019 年 9 月 12 日
コメント済み: Sam 2019 年 9 月 13 日
Unbenannt1.png
  3 件のコメント
Stephen23
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.
Sam
Sam 2019 年 9 月 13 日
Thanks for all of your answers! I'll try it out

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by