Baffling new error message

3 次查看(过去 30 天)
Evan
Evan 2014-9-3
I'm running a piece of code that I've used for years on Windows XP. I recently transferred to a new machine running Win8.1; now I'm getting the following error when my code calls movefile:
"The requested lookup key was not found in any active activation context."
Since this is an interaction between Matlab and Windows Explorer I suspect that that's somewhere at the root of it - but I have literally no idea what it's complaining about or how to address it. Any help available?
  3 个评论
Phani kumar KSV
Phani kumar KSV 2016-2-6
I have the same problem coming up when I try to link Waijung to the hardware STM32f04. I am using Windows 8.1 and Matlab R2015a. when I try to build the model, I am getting this error. I am running the Demo file given by waijung "PWM signals". Pl. help to overcome this error. thanks in advance
John BG
John BG 2016-2-6
If you don't hang the code so we can read it, how do you expect any ready to tell whether it's Windows, CCS, your code, your board, or any combination?

请先登录,再进行评论。

回答(2 个)

Walter Roberson
Walter Roberson 2016-2-6
编辑:Walter Roberson 2018-4-4

Hai Sun
Hai Sun 2018-4-3
I have found if you put pause(5) before movefile it prevents this. I think matlab has no way to tell if all the files have completed moving because windows is doing the actual moving, so the error is thrown when matlab tries to move on but windows is not finished

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by