I have a very peculiar problem. I programmed a trading application and ran into the following problem.
I have an uifigure and within this uifigure I have a tabgroup with two tabs. In this two tabs I have uitables showing the open positions of my application. One tab for stocks from the UK and one for US stocks.
Every 3 mins or when there was opened or closed a position the tables are updated. The update always affects only two columns per stock if the stock is already in the table. If it is a new position a line to the table is added.
So far so good, now comes the strange part. If I set a breakpoint right before the uitables are created and trace over the two lines both tables are created in their respective tab and all is fine. I can run the program from this point and it updates the tables just as I wish - great.
But if I don't set the breakpoint infront of the table creating lines and let the program simply run, the tables never show up in my tabs and are also not updated. That means not shown. I can go into debug mode and see and the data for both table is there in is also handled correctly, it is just not displayed on the screen.
I tried adding both a small pause after the uitable creation and also tried issueing drawnow but nothing helps. I have to trace over this two lines manually if I want to see my tables.
P.S.: Setting the breakpoint right after the two lines that are supposed to create the tables does not work. I have to execute the two lines manually to see the tables.