When I use the following commands:
figure; uicontrol('string','testing 123...'); h=findobj(gcf,'-regexp','String','[.*123.*]');
The variable "h" is empty which means that the object was not found by FINDOBJ command.
expressionMATLABregular
figure; uicontrol('string','testing 123...'); h=findobj(gcf,'-regexp','String','[.*123.*]');
Best Answer