superresolution program problem

2 ビュー (過去 30 日間)
li
li 2011 年 2 月 23 日
回答済み: arushi 2024 年 8 月 8 日
http://lcav.epfl.ch/software/superresolution please refer to this page and download the program provided, I tried so many time and I could not add any of the images. I am thinking the problem of this program. Does anyone know how to fix it? thanks. this is the error descovered thanks
??? Attempt to reference field of non-structure array.
Error in ==> superresolution>addImageFile at 145 set(handles.listImages, 'FontAngle', 'normal');
Error in ==> superresolution>addButton_Callback at 991 addImageFile(handles);
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> superresolution at 47 gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
  1 件のコメント
David Young
David Young 2011 年 2 月 23 日
Have you tried contacting superresolution@epfl.ch ?

サインインしてコメントする。

回答 (1 件)

arushi
arushi 2024 年 8 月 8 日
Hi Li,
The error you're encountering "Attempt to reference field of non-structure array", suggests that the handles variable being passed to the addImageFile function is not being recognized as a structure. This is likely causing the program to fail when it tries to access handles.listImages.
Here are some steps you can take to diagnose and potentially fix the problem:
1. Check the handles Structure - Ensure that handles is a valid structure and that handles.listImages exists before it is accessed. You can add debugging statements to check the state of handles.
2. Verify Initialization - Make sure that handles is properly initialized and that listImages is created before addImageFile is called.
Hope this helps.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by