Image Processing in GUI Error
1 回表示 (過去 30 日間)
古いコメントを表示
Muhammad Awais saleem
2020 年 6 月 26 日
コメント済み: Muhammad Awais saleem
2020 年 6 月 26 日
i am working on Zooming of Image in MATLAB GUI
i have sucessfully loaded image in MATLAB GUI but when i try to zoom it it gives error mentioned below
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)test('pushbutton2_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
0 件のコメント
採用された回答
Geoff Hayes
2020 年 6 月 26 日
Muhammad - please post the full error message (so all of the red text) so we can narrow down which line of the callback is generating the error.
Is it that the A is not defined? (Instead of using global variables, save the image (once loaded) to the handles structure which this callback then use to access the image.)
More likely, the error has to do with f1 variable which is being used as the step size in the two for loops....but it hasn't yet been defined. Please define this variable (again consider using the handles structure if this is set elsewhere in the code).
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Visual Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!