problem with malfunctioning GUI program

i wrote my code correctly but during executions, sometimes it worked normally sometimes it sort of hang and i have to close the program. the program needs to load/capture images. is it possible that my images resolutions are too big?

1 Comment

Please you the standard upper/lowercase for writing in this forum. The easier the reading, the more likely is a helpful answer. Thanks.

Answers (2)

Who knows? Maybe. Or it could be some other reason. How are we to know?
Jan
Jan on 8 Nov 2012
Edited: Jan on 15 Nov 2012
"Sort of hangs" is a too vague description to have any arguments for guessing, what the problem might be.
How do you know, that you have written your code correctly? Such things are impossible to proove.

2 Comments

it takes awhile to load all the images i've selected. sometimes, all appears, and other times , only 1~2 appears.
@joanna: Please post much more details. Currently we do not have enough information even for guessing what's going on. You can use the debugger and the profile to find out more details. You can check the memory usage and post at least the sizes of the images. Otherwise there is absolutely no chance for us to guess, if your images are too large. Terms like "a while" are not useful here. This could mean 0.5 seconds or 30 minutes. What does "appear" mean exactly?

This question is closed.

Asked:

on 8 Nov 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!