I am crossing a strange problem, I have an uitable, I want to have new outputs from Network inputs and when I change input values in uitable to get new outputs I have to press pushbutton twice. I have searched it there are lots of questions about this issue and I still didn't get the exact answer. Can anyone of you give me an idea how to figure out about this problem?
Here is code of uitable:
t = uitable('Parent', f, 'Position', [0 60 260 400],...
'Data',table_data,...
'ColumnName',cnames,...
'RowName',rnames,...
'ColumnFormat',ColumnFormat,...
'ColumnEditable',ColumnEditable,...
'Enable','on',...
'Visible','on');
handles.pushbutton1 = uicontrol('Style','Pushbutton',...
'Units','Pixels',...
'Position',[210 470 100 30],...
'String','Simulate Network',...
'callback',@Simulate_Callback);
For instance in uitable when I changed Satznummer to a new value then I have to press Simulate Network twice till I get the new outputs.
I appreciate for any answer. Thanks.