error using load command.

2 visualizzazioni (ultimi 30 giorni)
Ricky
Ricky il 23 Mag 2013
Risposto: viking76 il 14 Gen 2014
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 Commenti
Azzi Abdelmalek
Azzi Abdelmalek il 23 Mag 2013
post your code
Ricky
Ricky il 23 Mag 2013
Modificato: Azzi Abdelmalek il 23 Mag 2013
load ('C:\Users\Rick\Documents\ascan_test) .
I recorded this file today morning itself and it was working fine.

Accedi per commentare.

Risposte (2)

Azzi Abdelmalek
Azzi Abdelmalek il 23 Mag 2013
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 Commento
Ricky
Ricky il 23 Mag 2013
Modificato: Ricky il 23 Mag 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.

Accedi per commentare.


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

Community Treasure Hunt

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

Start Hunting!

Translated by