readcell関数で取得するExcelのデータ精度に関して
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Excelのセルに「79.999999998」と反映し、値が「80」のように丸められたとします。

そのセル値をreadcell関数で取得したのですが、「79.999999998」ではなく「80」の値として取得されていることを確認しました。

readcell関数で、Excel内のセル値を取得する際に、丸められた値ではなく素の精度の値(今回の場合「79.999999998」)を取得できるようにするオプションはございますか?
■追記
readcell関数ではR2021aまでは、Excelデータの素の精度を取得することが出来ない。
その為、xlsreadを用いたり、readmatrixやreadtableなど、他の読込関数で読み込むほか回避する。
R2021bからは改善
6 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su スプレッドシート in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
