Error in imagesc matlab

11 views (last 30 days)
Wubie Engdew
Wubie Engdew on 13 Dec 2019
Commented: Walter Roberson on 13 Dec 2019
Error using image
Color data must be numeric or logical values.
Error in imagesc (line 19)
hh = image(varargin{1},'CDataMapping','scaled');
Error in file2>embedding_radiobutton_Callback (line 203)
Error in gui_mainfcn (line 95)
Error in file2 (line 17)
gui_mainfcn(gui_State, varargin{:});
Error in>@(hObject,eventdata)file2('embedding_radiobutton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
  1 Comment
Walter Roberson
Walter Roberson on 13 Dec 2019
If you put a breakpoint in embedding_radiobutton_Callback then what shows up for class(stegoimage)?
I speculate that it might be a character vector that is the name of a file rather than being the content of the file.

Sign in to comment.

Answers (0)


Find more on Programming Utilities in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by