function pushbutton1_Callback(hObject, eventdata, handles)
………….
cellArray=
' 334 4261461.0645 2661117.6797 3918916.0472' ' 352 4266205.852 2659683.96 3914798.2885' ' 404 4258400.8221 2662966.354 3920634.872'
out1 = regexp(cellArray,'(?<=^\s*)\d*','match')
out1= cat(1,out1{:})
function pushbutton2_Callback(hObject, eventdata, handles)
global out1
%when I call out1 it looks []. It should look
'334'
'352'
'404'
what is the problem?
Best Answer