Effacer les filtres
Effacer les filtres

How do I clear an object MATLAB defaults to by finding it in the history?

1 vue (au cours des 30 derniers jours)
Dean Ranmar
Dean Ranmar le 6 Sep 2016
Commenté : Dean Ranmar le 6 Sep 2016
I am trying to run a radar-related simulation. I want the script file to read in an image from a particular directory. At an earlier time, the image resided in a directory that doesn't exist anymore. When I run the script, it tries to read from the now nonexistent directory even though I have updated the script to read from the new directory. I know MATLAB defaults to reading in objects from a history. How do I clear that history so it won't do this? (When I earlier had a similar problem with defining a parameter in a script, I cleared the parameter value first and that worked.)
  7 commentaires
Dean Ranmar
Dean Ranmar le 6 Sep 2016
cannot access MATLAB right now. will be able to do so in about 12 hours and will get the PATH.
Thanks Jose-Luis and Guillaume
Dean Ranmar
Dean Ranmar le 6 Sep 2016
BTW, I will make the filename an input. However, I need to understand this problem because I've had similar problems ... Your having pointed to the PATH will, I suspect, help me solve the problem. Thanks again.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur File Operations 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