Info

This question is closed. Reopen it to edit or answer.

Set Function Not Workin Normal Execution

1 view (last 30 days)
Volkan Sahin
Volkan Sahin on 26 Jul 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!