a=get(handles.edit1,'string');
b='123456';
l=strcmp(a,b);
if l==1
msgbox('rightpwd');
set(handles.edit1,'string','');
else
msgbox('wrong pwd');
set(handles.edit1,'string','');
end
sir i dont know to create user name function but i set password but its visible i need to invisible to show the password so u try to send full code sir... actually i search in file exchange but the code not much more worth. so pls