user_url_pw_inputdlg Return the URL, user name and password for the openBIS server
0001 function [url, user, pw] = user_url_pw_inputdlg 0002 %user_url_pw_inputdlg 0003 % Return the URL, user name and password for the openBIS server 0004 0005 prompt = {'openBIS URL:', 'openBIS user:'}; 0006 title = 'openBIS connection details'; 0007 definput = {'https://XYZ.ethz.ch/openbis:8443', ''}; 0008 answer = inputdlg(prompt, title, 1, definput); 0009 0010 url = answer{1}; 0011 user = answer{2}; 0012 0013 % pw = passwordEntryDialog('CheckPasswordLength',0); 0014 pw = passcode; 0015 0016 end