why does appdesigner listbox display so slow?
이전 댓글 표시
Hello,
i am working on appdesigner and editing my listbox items inside of a "edit field" call back. If i have a '.' in the string, i delete before the dot and assign it to the listbox item. Listbox items are displayed 20 to 50 seconds later. Is it normal to take that long? How can i make it faster? How can i display the executing time of this callback?
Thank you.
function FilePathEditFieldValueChanged(app, event)
a={ 'string','string2','string3','string4'}; %there are 233 elements in this cell array not 4
for k=1:length(a)
if contains(a{1,k},'.')
n = split(a{1,k},".");
app.Signals1ListBox.Items{end+1} =n{end,1} ;
app.Signals2ListBox.Items{end+1} =n{end,1} ;
else
app.Signals1ListBox.Items{end+1} =a{1,k} ;
app.Signals2ListBox.Items{end+1} =a{1,k} ;
end
end
end
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 App Building에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!