Clear Filters
Clear Filters

Baffling new error message

3 views (last 30 days)
Evan
Evan on 3 Sep 2014
Edited: Walter Roberson on 4 Apr 2018
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 Comments
Phani kumar KSV
Phani kumar KSV on 6 Feb 2016
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 on 6 Feb 2016
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?

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 6 Feb 2016
Edited: Walter Roberson on 4 Apr 2018

Hai Sun
Hai Sun on 3 Apr 2018
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

Categories

Find more on Install Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!