superresolution program problem

2 Ansichten (letzte 30 Tage)
li
li am 23 Feb. 2011
Beantwortet: arushi am 8 Aug. 2024
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 Kommentar
David Young
David Young am 23 Feb. 2011
Have you tried contacting superresolution@epfl.ch ?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

arushi
arushi am 8 Aug. 2024
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.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by