error using load command.

5 次查看(过去 30 天)
Ricky
Ricky 2013-5-23
回答: viking76 2014-1-14
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 个评论
Ricky
Ricky 2013-5-23
编辑:Azzi Abdelmalek 2013-5-23
load ('C:\Users\Rick\Documents\ascan_test) .
I recorded this file today morning itself and it was working fine.

请先登录,再进行评论。

回答(2 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-5-23
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 个评论
Ricky
Ricky 2013-5-23
编辑:Ricky 2013-5-23
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.

请先登录,再进行评论。


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

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by