im not getting the following error .Matlab file is attached
조회 수: 1 (최근 30일)
표시 이전 댓글
>> 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
댓글 수: 0
채택된 답변
James Tursa
2018년 3월 22일
You could get this error if im_n is a matrix that does not have im_sz(2) number of columns.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!