error using load command.

I am using load command with the file address and name. It was always working fine but now suddenly I am facing a problem. So today I used the same code in office it was working fine , after reaching home I run the same code. It loads the file but the file contents are empty.
It is the same file I was working, nothing changed

2 Comments

post your code
Ricky
Ricky on 23 May 2013
Edited: Azzi Abdelmalek on 23 May 2013
load ('C:\Users\Rick\Documents\ascan_test) .
I recorded this file today morning itself and it was working fine.

Sign in to comment.

Answers (2)

The only logical explanation is: maybe you've saved by error your file with an empty variable:
save ('C:\Users\Rick\Documents\ascan_test')

1 Comment

Ricky
Ricky on 23 May 2013
Edited: Ricky on 23 May 2013
I was working on the same code for last 2 days, same file being loaded. The same data file I was using further in my programs . Today in office it was working perfectly and after coming home when I started again I am facing this problem.
Even I am wondering due to this strange behaviour.

Sign in to comment.

viking76
viking76 on 14 Jan 2014

0 votes

Hi Ricky,
I am experiencing the very same problem. Did you manage to solve it? Thanks.
Best
Adrian

Asked:

on 23 May 2013

Answered:

on 14 Jan 2014

Community Treasure Hunt

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

Start Hunting!