Asked by Todd Olson
on 2 Apr 2013

Whether I attempt to use plot, pcolor, spy, or anything else I get a similar error.

Attempt to execute SCRIPT findall as a function: /home/todd/Documents/IvesLab/MATLAB/toolbox/matlab/graphics/en/findall.m

Error in clo (line 49) kids_to_delete = setdiff(findall(obj,'serializable','on','-depth',1),obj);

Error in cla (line 29) clo(ax, extra{:});

Error in newplot>ObserveAxesNextPlot (line 125) cla(ax, 'reset',hsave);

Error in newplot (line 74) ax = ObserveAxesNextPlot(ax, hsave);

It seems like it's trying to do something with findall that it shouldn't. I have no idea how this would come about.

*No products are associated with this question.*

Answer by Walter Roberson
on 2 Apr 2013

You appear to be missing findall.p which is the actual executing part of findall, and is in the graphics directory. findall.m, in the graphics/en directory, is just help information.

Possibly somehow the graphics directory is not on your MATLAB path. Try executing

ls /home/todd/Documents/IvesLab/MATLAB/toolbox/matlab/graphics/find*

Todd Olson
on 4 Apr 2013

Walter Roberson
on 4 Apr 2013

Opportunities for recent engineering grads.

## 2 Comments

## Matt Kindig (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/69579#comment_140769

What does:

give you?

## Todd Olson (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/69579#comment_141211

/home/todd/Documents/IvesLab/MATLAB/toolbox/matlab/graphics/en/findall.m