Effacer les filtres
Effacer les filtres

Baffling new error message

3 vues (au cours des 30 derniers jours)
Evan
Evan le 3 Sep 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 commentaires
Phani kumar KSV
Phani kumar KSV le 6 Fév 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 le 6 Fév 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?

Connectez-vous pour commenter.

Réponses (2)

Walter Roberson
Walter Roberson le 6 Fév 2016
Modifié(e) : Walter Roberson le 4 Avr 2018

Hai Sun
Hai Sun le 3 Avr 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

Catégories

En savoir plus sur Install Products dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by