superresolution program problem
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Risposte (1)
arushi
il 8 Ago 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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!