error using load command.

5 vues (au cours des 30 derniers jours)
Ricky
Ricky le 23 Mai 2013
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 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 23 Mai 2013
post your code
Ricky
Ricky le 23 Mai 2013
Modifié(e) : Azzi Abdelmalek le 23 Mai 2013
load ('C:\Users\Rick\Documents\ascan_test) .
I recorded this file today morning itself and it was working fine.

Connectez-vous pour commenter.

Réponses (2)

Azzi Abdelmalek
Azzi Abdelmalek le 23 Mai 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 commentaire
Ricky
Ricky le 23 Mai 2013
Modifié(e) : Ricky le 23 Mai 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.

Connectez-vous pour commenter.


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

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by