MATLAB Answers

How to upload a csv excel file with full of real values

1 view (last 30 days)
Seyhan Emre Gorucu
Seyhan Emre Gorucu on 2 May 2013
Hello I am able to do csvread('results.csv') which reads the values from the corresponding file. It works well with integers. However, when I try to upload a file with real values such 123.124, then it gives the following error:
??? Error using ==> dlmread at 145
Mismatch between file and format string.
Trouble reading number from file (row 1, field 147) ==> nit
Error in ==> csvread at 52
m=dlmread(filename, ',', r, c);
Error in ==> ILJvsOJS at 12
Thank you for your help.

Answers (0)


Community Treasure Hunt

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

Start Hunting!

Translated by