MATLAB Answers

Set Function Not Workin Normal Execution

1 view (last 30 days)
Volkan Sahin
Volkan Sahin on 26 Jul 2019
Commented: Volkan Sahin on 29 Jul 2019
I tried to update my listbox with using the code below.
set (findobj(gcf,'tag','listbox1'),'string','');
But it is not working. When i go to debug mode and put a breakpoint before this code. It update listbox with blank value. I also tried with a proper string like "Hello World" but it still not work in normal executaion. How can i handle this problem ?

  2 Comments

Volkan Sahin
Volkan Sahin on 29 Jul 2019
Hi, Thank you for your help. The solution you have offered works for updating figure. But unfortunatelly is doesn't work for updating listbox element.

Sign in to comment.

Answers (0)

Sign in to answer this question.

Tags