The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: load column in from text file
Replies: 12   Last Post: Dec 11, 2012 3:47 PM

Advanced Search

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

Posts: 8
Registered: 12/15/10
Re: load column in from text file
Posted: Dec 11, 2012 3:30 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> It _could_ be a bug, but I doubt it.
> Try using FOPEN with two outputs to open the file. If the first output
> is -1, look at the second output. It will be the message from the OS
> hopefully identifying why it couldn't open the file. That may shed some
> light on why you received an error from IMPORTDATA. My guess is either that
> you have too many files open simultaneously or you already have it open in
> some other program.
> --
> Steve Lord
> To contact Technical Support use the Contact Us link on

Thanx all for the support, I still don't know exactly why it doesn't work when I use a directory that is not the working directory (where my program is stored). But it turns out it only works when the directory where the text files are saved is the same as matlab script. Other directory doesn't work always, strange enough it does with certain names.
So I can go further, and just have a lot of files in my working directory, but yeah it works :)
Once again thanx to help me.

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.