Azzera filtri
Azzera filtri

Baffling new error message

3 visualizzazioni (ultimi 30 giorni)
Evan
Evan il 3 Set 2014
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 Commenti
Phani kumar KSV
Phani kumar KSV il 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 il 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?

Accedi per commentare.

Risposte (2)

Walter Roberson
Walter Roberson il 6 Feb 2016
Modificato: Walter Roberson il 4 Apr 2018

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

Categorie

Scopri di più su Install Products in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by