This code works great when I run my GUI directly in Matlab BUT when I compile it into an executable using deploytool, it does not always work. More specifically it works the first time I change the text in the edit box, sometimes the second time but somewhere thereafter (always at a different point), it does not seem to work anymore (i.e. no update of my listbox when I type in the edit-field and some other strange stuff sometimes happens as freezing of the list box, not finding the text string even though I know it is there and such).
Is this a known bug and how can I solve this? Is there another file that I need to include in the "Shared resources and helper files" section besides the findjobj.m file which I of course have included?
Sorry about that. It's more for legacy work done in the past, and I probably should take it out. I was working on a project where we were running hundreds of variants of metrics and differentiating by name gets messy, hence using a database to track which statistic was used. - Jeff
It works! This has saved me an hour or two of my life so thanks very much.
It would be excellent except I didn't find the comments that easy to follow. What is going on with this:
% Set metric id for optional use. This is arbitrarily set to 1001
% for this metric and used in other applications not associated to this
% function. The user can either ignore or remove from the function.
Maybe it is just me being dim but I couldn't work out the point of that.
Thanks again for posting this.