Filter löschen
Filter löschen

Baffling new error message

3 Ansichten (letzte 30 Tage)
Evan
Evan am 3 Sep. 2014
Bearbeitet: Walter Roberson am 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 Kommentare
Phani kumar KSV
Phani kumar KSV am 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 am 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?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Walter Roberson
Walter Roberson am 6 Feb. 2016
Bearbeitet: Walter Roberson am 4 Apr. 2018

Hai Sun
Hai Sun am 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

Kategorien

Mehr zu Install Products finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by