report values from my m. files as they are running back to my gui
Show older comments
Hey, so I would like to be able to display iteration values and error next to each other in my gui as my m. file runs so that the user can see what iteration number the m.file is currently one and the level of error. Do i need to use a while loop in my gui m. file do update my text box continuously and use the handles format in my working m. file so that the info can be passed back and forth with out needing the working m. file to finish?
Thank you
2 Comments
Jan
on 2 Oct 2013
I do not understand the question. Could you clarify it?
Image Analyst
on 2 Oct 2013
What error? If you get an error, it will throw an exception and create an error structure variable that will contain several pieces of information in it. If you want, you can catch it in a catch block and examine your iteration/loop variable at that time (before the function exits).
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!