Why do I receive an “Undefined function or method 'propertyeditor' for input arguments of type 'double'” error when trying to open the “Property Editor” in MATLAB 7.3 (R2006b)?

When I try to open the “Property Editor” from the “View” menu in a figure I receive this error:
"??? Undefined function or method 'propertyeditor' for input arguments of type 'double'.
Error in ==> viewmenufcn at 43
propertyeditor (hfig, 'toggle')
??? Error using ==> viewmenufcn PropertyEditor
Undefined function or method 'propertyeditor' for input arguments of type 'double'.
??? Error while evaluating uimenu Callback

 Accepted Answer

The error indicates that MATLAB cannot find the propertyeditor.m MATLAB-file in the search path. Check if "$MATLABROOT\toolbox\matlab\plottools" directory is on the MATLAB path by using the PATH command where $MATLABROOT is your MATLAB installation directory.
To find the root directory type the following in the MATLAB command prompt:
matlabroot
To find the search path that MATLAB uses, type the following at the command prompt:
path
If the directory is not on the MATLAB path, do the following:
1. Select File –> Set Path from the top menu bar in MATLAB.
2. Click on "Add folder" then navigate to the folder that contains the propertyeditor.m MATLAB-file.
3. Click on OK.
Now, selecting the Property Editor from the View menu should not return an error.

More Answers (0)

Categories

Products

Release

R2006b

Community Treasure Hunt

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

Start Hunting!