Why is a warning message returned in the MATLAB Command Window when I load a figure that contains a colorbar?

4 views (last 30 days)
I created, saved, and closed a figure in MATLAB 7.0 (R14) that contains a colorbar. When I reopen the figure in MATLAB, the following warning message is returned in the Command Window:
Warning: Could not find appropriate function on path loading function handle C:\MATLAB7\toolbox\matlab\scribe\@scribe\@colorbar\colorbar.m>resetCurrentAxes
> In hgload at 44
In openfig at 84

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
This problem has been fixed in MATLAB 7.0.1 (R14SP1). If you are using a previous version, read the following:
We have verified that there is a bug in MATLAB 7.0 (R14) in the way that figures with colorbars are loaded.
In this instance, the warning can be safely disregarded. To work around this issue, you can turn off the warning message by typing the following in the MATLAB Command Window:
warning('off', 'MATLAB:dispatcher:UnresolvedFunctionHandle');
For more information about handling warning messages, type "doc warning" at the MATLAB prompt.

More Answers (0)

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!