Why do I get the error "Undefined function or variable 'colormapeditor'" when I click on "Launch Colormap Editor" in a stand-alone compiled with MATLAB Compiler 4.9 (R2008b)?

4 views (last 30 days)
I have a plot that displays a colormap, I can right-click on the colormap and get a few options. When I click on "Launch Colormap Editor", I get the following error:
ERROR: ??? Undefined function or variable 'colormapeditor'.
Error in ==> scribe.colorbar.methods>edit_colormap_cb at 647
??? Error while evaluating uimenu Callback
This used to work in MATLAB R2007b.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Apr 2023
Edited: MathWorks Support Team on 19 Apr 2023
In general, MathWorks provided GUIs will not compile. The ability to hide menus that launch GUIs that cannot be compiled is not available in MATLAB.
For more information of the capabilities that can and cannot be compiled, see the following page:
MATLAB Compiler Support for MATLAB and Toolboxes

More Answers (0)

Products


Release

R2008b

Community Treasure Hunt

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

Start Hunting!