MATLAB: Does MATLAB 7.8 (R2009a) produce an error when I click on the ‘Edit Plot’ icon in a figure window

MATLAB

When I click on the 'Edit Plot' icon in the figure window, I get following error:
??? At compilation, "parameter" was determined to be a variable and
this
variable is uninitialized. "parameter" is also a function name and
previous versions of MATLAB
would have called the function.
However, MATLAB 7 forbids the use of the same name in the same
context as both a function and a variable.

Best Answer

This error is caused because of multiple instances of the file 'scribeclearmode.m' existing on the MATLAB path. To find out all instances of this file on the path, execute the following command:
which -all scribeclearmode
The only instance of this file should be located at:
%matlabroot%\toolbox\matlab\graph2d\scribeclearmode.m
where, %matlabroot% is the MATLAB root foler.
Rename or remove any other instances of this file from the MATLAB path.