Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: unable to open csv file
Replies: 7   Last Post: Feb 18, 2013 9:39 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
dpb

Posts: 8,231
Registered: 6/7/07
Re: unable to open csv file
Posted: Feb 12, 2013 11:00 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 2/8/2013 9:50 PM, neetesh wrote:
> Hi guys
>
> I have a csv file of an image.


That an image would be in a csv file seems strange at best...

> This file contains only numbers . In excel it shows around 255 rows and
> 100 columns with negative , zeros and positive numbers.
> when I try to open it using
> csvread('filename')
>
> I get this error message :
>
> ??? Error using ==> dlmread at 145
> Mismatch between file and format string.
> Trouble reading number from file (row 2, field 1) ==> \n
>
> Error in ==> csvread at 50
> m=dlmread(filename, ',', r, c);
>
> i tried to change it to txt and open with textread . still doesn't work
>
> please advise


Need more specifics on the file, obviously.

--




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.