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: 2014a Problem with "which" function, impacting xlsread and dir
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 3
Registered: 12/10/08
2014a Problem with "which" function, impacting xlsread and dir
Posted: Aug 15, 2014 1:47 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I recently upgraded to R2014a and have run into a few problems accessing certain files. If I try to use xlsread on a group of 10 .xlsx files in a particular folder, 9 work and 1 fails. It happens to be the largest file. I think the error is occurring with the "which" function, which reports that the file is not found. Odd observations:
- If my current directory is set to the directory containing the file, it loads fine. (Not necessary for the other 9 files)
- If I open the problematic .xlsx file, save it, and then load, it loads without a problem. If I try to use xlsread the following day (on something re-saved the previous day), xlsread fails.

I just experienced the same sort of error with the dir function trying to load a large .mat file. which.m says the file isn't found (but the exist.m function returns 1)

I'm running Windows 7 on a 64bit machine.

Anyone have a similar experience or ideas on how to make these functions work?


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.