im not getting the following error .Matlab file is attached

1 view (last 30 days)
>> maingui1 Error using vertcat Dimensions of matrices being concatenated are not consistent.
Error in maingui1>fltimg_Callback (line 143) p_im_n= [ zeros(ln,im_sz(2)) ; im_n ; zeros(ln,im_sz(2))];
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in maingui1 (line 42) gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)maingui1('fltimg_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback

Accepted Answer

James Tursa
James Tursa on 22 Mar 2018
You could get this error if im_n is a matrix that does not have im_sz(2) number of columns.

More Answers (0)

Categories

Find more on Matrices and Arrays 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!