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

1 Ansicht (letzte 30 Tage)
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 Kommentare
Dean Ranmar
Dean Ranmar am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Search Path 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