Clear Filters
Clear Filters

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

1 view (last 30 days)
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 Comments
Dean Ranmar
Dean Ranmar on 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 on 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.

Sign in to comment.

Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!