diff --git a/matlab-openbis/LICENSE b/api-openbis-matlab/LICENSE similarity index 100% rename from matlab-openbis/LICENSE rename to api-openbis-matlab/LICENSE diff --git a/matlab-openbis/Matlab-openBIS.pptx b/api-openbis-matlab/Matlab-openBIS.pptx similarity index 100% rename from matlab-openbis/Matlab-openBIS.pptx rename to api-openbis-matlab/Matlab-openBIS.pptx diff --git a/matlab-openbis/OpenBis.m b/api-openbis-matlab/OpenBis.m similarity index 100% rename from matlab-openbis/OpenBis.m rename to api-openbis-matlab/OpenBis.m diff --git a/matlab-openbis/README.md b/api-openbis-matlab/README.md similarity index 100% rename from matlab-openbis/README.md rename to api-openbis-matlab/README.md diff --git a/matlab-openbis/df_to_table.m b/api-openbis-matlab/df_to_table.m similarity index 100% rename from matlab-openbis/df_to_table.m rename to api-openbis-matlab/df_to_table.m diff --git a/matlab-openbis/html/alpha.png b/api-openbis-matlab/html/alpha.png similarity index 100% rename from matlab-openbis/html/alpha.png rename to api-openbis-matlab/html/alpha.png diff --git a/matlab-openbis/html/c++.png b/api-openbis-matlab/html/c++.png similarity index 100% rename from matlab-openbis/html/c++.png rename to api-openbis-matlab/html/c++.png diff --git a/matlab-openbis/html/c.png b/api-openbis-matlab/html/c.png similarity index 100% rename from matlab-openbis/html/c.png rename to api-openbis-matlab/html/c.png diff --git a/matlab-openbis/html/demoicon.gif b/api-openbis-matlab/html/demoicon.gif similarity index 100% rename from matlab-openbis/html/demoicon.gif rename to api-openbis-matlab/html/demoicon.gif diff --git a/matlab-openbis/html/down.png b/api-openbis-matlab/html/down.png similarity index 100% rename from matlab-openbis/html/down.png rename to api-openbis-matlab/html/down.png diff --git a/matlab-openbis/html/doxysearch.php b/api-openbis-matlab/html/doxysearch.php similarity index 100% rename from matlab-openbis/html/doxysearch.php rename to api-openbis-matlab/html/doxysearch.php diff --git a/matlab-openbis/html/fortran.png b/api-openbis-matlab/html/fortran.png similarity index 100% rename from matlab-openbis/html/fortran.png rename to api-openbis-matlab/html/fortran.png diff --git a/matlab-openbis/html/hp.png b/api-openbis-matlab/html/hp.png similarity index 100% rename from matlab-openbis/html/hp.png rename to api-openbis-matlab/html/hp.png diff --git a/api-openbis-matlab/html/index.html b/api-openbis-matlab/html/index.html new file mode 100644 index 0000000000000000000000000000000000000000..7d388899e302de8d65236921037176541d3fcc5c --- /dev/null +++ b/api-openbis-matlab/html/index.html @@ -0,0 +1,47 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Matlab Index</title> + <meta name="keywords" content="api-openbis-matlab"> + <meta name="description" content="api-openbis-matlab"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="./m2html.css"> +</head> +<body> +<a name="_top"></a> +<h1>Matlab Index</h1> +<h2>Matlab Directories</h2> +<ul style="list-style-image:url(./matlabicon.gif)"> + <li><a href="api-openbis-matlab/index.html">api-openbis-matlab</a></li> +</ul> +<h2>Matlab Files found in these Directories</h2> +<table width="100%"> + <tr> + <td><a href="api-openbis-matlab/OpenBis.html" title="api-openbis-matlab">OpenBis</a></td> + <td><a href="api-openbis-matlab/obi_test.html" title="api-openbis-matlab">obi_test</a></td> + <td><a href="api-openbis-matlab/passwordEntryDialog.html" title="api-openbis-matlab">passwordEntryDialog</a> + </td> + <td><a href="api-openbis-matlab/user_url_pw_inputdlg.html" title="api-openbis-matlab">user_url_pw_inputdlg</a> + </td> + </tr> + <tr> + <td><a href="api-openbis-matlab/df_to_table.html" title="api-openbis-matlab">df_to_table</a> + </td> + <td><a href="api-openbis-matlab/passcode.html" title="api-openbis-matlab">passcode</a></td> + <td><a href="api-openbis-matlab/user_url_pw_input_dialog.html" title="api-openbis-matlab">user_url_pw_input_dialog</a> + </td> + <td><a href="" title=""></a></td> + </tr> +</table> + + +<hr> +<address>Generated on Tue 06-Jul-2021 16:01:17 by <strong><a + href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> + © 2005 +</address> +</body> +</html> \ No newline at end of file diff --git a/matlab-openbis/html/left.png b/api-openbis-matlab/html/left.png similarity index 100% rename from matlab-openbis/html/left.png rename to api-openbis-matlab/html/left.png diff --git a/matlab-openbis/html/linux.png b/api-openbis-matlab/html/linux.png similarity index 100% rename from matlab-openbis/html/linux.png rename to api-openbis-matlab/html/linux.png diff --git a/matlab-openbis/html/m2html.css b/api-openbis-matlab/html/m2html.css similarity index 100% rename from matlab-openbis/html/m2html.css rename to api-openbis-matlab/html/m2html.css diff --git a/matlab-openbis/html/matlab-openbis/OpenBis.html b/api-openbis-matlab/html/matlab-openbis/OpenBis.html similarity index 78% rename from matlab-openbis/html/matlab-openbis/OpenBis.html rename to api-openbis-matlab/html/matlab-openbis/OpenBis.html index c05f75733bf1b1c46a64091dfead914cee238b95..c2a00d4c7832017278ed2e572be103cfb09a77f9 100644 --- a/matlab-openbis/html/matlab-openbis/OpenBis.html +++ b/api-openbis-matlab/html/matlab-openbis/OpenBis.html @@ -1,21 +1,23 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> + "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> - <title>Description of OpenBis</title> - <meta name="keywords" content="OpenBis"> - <meta name="description" content=""> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> - <meta name="robots" content="index, follow"> - <link type="text/css" rel="stylesheet" href="../m2html.css"> + <title>Description of OpenBis</title> + <meta name="keywords" content="OpenBis"> + <meta name="description" content=""> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> </head> <body> <a name="_top"></a> -<div><a href="../index.html">Home</a> > <a href="index.html">matlab-openbis</a> > OpenBis.m</div> +<div><a href="../index.html">Home</a> > <a href="index.html">api-openbis-matlab</a> > + OpenBis.m +</div> <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> -<td align="right"><a href="index.html">Index for matlab-openbis <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> +<td align="right"><a href="index.html">Index for api-openbis-matlab <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> <h1>OpenBis </h1> @@ -23,27 +25,85 @@ <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> <div class="box"><strong></strong></div> -<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="box"><strong>This is a script file. </strong></div> -<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> -<div class="fragment"><pre class="comment"></pre></div> +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> +<div class="fragment"> + <pre class="comment"></pre> +</div> <!-- crossreference --> -<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> This function calls: <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="OpenBis.html" class="code" title="">OpenBis</a> </li><li><a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a> df_to_table</li><li><a href="user_url_pw_inputdlg.html" class="code" title="function [url, user, pw] = user_url_pw_inputdlg">user_url_pw_inputdlg</a> user_url_pw_inputdlg</li></ul> + <li><a href="OpenBis.html" class="code" title="">OpenBis</a></li> + <li><a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a> + df_to_table + </li> + <li><a href="user_url_pw_inputdlg.html" class="code" + title="function [url, user, pw] = user_url_pw_inputdlg">user_url_pw_inputdlg</a> + user_url_pw_inputdlg + </li> +</ul> This function is called by: <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="OpenBis.html" class="code" title="">OpenBis</a> </li><li><a href="obi_test.html" class="code" title="function pass = obi_test(varargin)">obi_test</a> obi_test Testing function for the Matlab openBIS Toolbox</li></ul> + <li><a href="OpenBis.html" class="code" title="">OpenBis</a></li> + <li><a href="obi_test.html" class="code" title="function pass = obi_test(varargin)">obi_test</a> + obi_test Testing function for the Matlab openBIS Toolbox + </li> +</ul> <!-- crossreference --> -<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="#_sub1" class="code">function obj = OpenBis(varargin)</a></li><li><a href="#_sub2" class="code">function logout(obj)</a></li><li><a href="#_sub3" class="code">function tf= is_session_active(obj)</a></li><li><a href="#_sub4" class="code">function token = token(obj)</a></li><li><a href="#_sub5" class="code">function experiment_types = get_experiment_types(obj)</a></li><li><a href="#_sub6" class="code">function sample_types = get_sample_types(obj)</a></li><li><a href="#_sub7" class="code">function material_types = get_material_types(obj)</a></li><li><a href="#_sub8" class="code">function dataset_types = get_dataset_types(obj)</a></li><li><a href="#_sub9" class="code">function terms = get_terms(obj)</a></li><li><a href="#_sub10" class="code">function tags = get_tags(obj)</a></li><li><a href="#_sub11" class="code">function spaces = get_spaces(obj)</a></li><li><a href="#_sub12" class="code">function space = get_space(obj, code)</a></li><li><a href="#_sub13" class="code">function space = new_space(obj, code, description)</a></li><li><a href="#_sub14" class="code">function delete_space(obj, code, reason)</a></li><li><a href="#_sub15" class="code">function projects = get_projects(obj, space, code)</a></li><li><a href="#_sub16" class="code">function project = get_project(obj, id)</a></li><li><a href="#_sub17" class="code">function project = new_project(obj, space, code, description)</a></li><li><a href="#_sub18" class="code">function delete_project(obj, code, reason)</a></li><li><a href="#_sub19" class="code">function experiments = get_experiments(obj, varargin)</a></li><li><a href="#_sub20" class="code">function experiment = get_experiment(obj, id)</a></li><li><a href="#_sub21" class="code">function exp = new_experiment(obj, type, code, project)</a></li><li><a href="#_sub22" class="code">function objects = get_objects(obj, varargin)</a></li><li><a href="#_sub23" class="code">function object = get_object(obj, id)</a></li><li><a href="#_sub24" class="code">function object = new_object(obj, type, space, code)</a></li><li><a href="#_sub25" class="code">function object = delete_object(obj, object, reason)</a></li><li><a href="#_sub26" class="code">function datasets = get_datasets(obj, varargin)</a></li><li><a href="#_sub27" class="code">function dataset = get_dataset(obj, permid, varargin)</a></li><li><a href="#_sub28" class="code">function files = get_dataset_files(obj, dataset, varargin)</a></li><li><a href="#_sub29" class="code">function path_to_file = dataset_download(obj, dataset, files, varargin)</a></li><li><a href="#_sub30" class="code">function dataset = new_dataset(obj, type, object, file_list, varargin)</a></li><li><a href="#_sub31" class="code">function dataset = new_dataset_container(obj, type, experiment, object)</a></li></ul> + <li><a href="#_sub1" class="code">function obj = OpenBis(varargin)</a></li> + <li><a href="#_sub2" class="code">function logout(obj)</a></li> + <li><a href="#_sub3" class="code">function tf= is_session_active(obj)</a></li> + <li><a href="#_sub4" class="code">function token = token(obj)</a></li> + <li><a href="#_sub5" class="code">function experiment_types = get_experiment_types(obj)</a></li> + <li><a href="#_sub6" class="code">function sample_types = get_sample_types(obj)</a></li> + <li><a href="#_sub7" class="code">function material_types = get_material_types(obj)</a></li> + <li><a href="#_sub8" class="code">function dataset_types = get_dataset_types(obj)</a></li> + <li><a href="#_sub9" class="code">function terms = get_terms(obj)</a></li> + <li><a href="#_sub10" class="code">function tags = get_tags(obj)</a></li> + <li><a href="#_sub11" class="code">function spaces = get_spaces(obj)</a></li> + <li><a href="#_sub12" class="code">function space = get_space(obj, code)</a></li> + <li><a href="#_sub13" class="code">function space = new_space(obj, code, description)</a></li> + <li><a href="#_sub14" class="code">function delete_space(obj, code, reason)</a></li> + <li><a href="#_sub15" class="code">function projects = get_projects(obj, space, code)</a></li> + <li><a href="#_sub16" class="code">function project = get_project(obj, id)</a></li> + <li><a href="#_sub17" class="code">function project = new_project(obj, space, code, + description)</a></li> + <li><a href="#_sub18" class="code">function delete_project(obj, code, reason)</a></li> + <li><a href="#_sub19" class="code">function experiments = get_experiments(obj, varargin)</a> + </li> + <li><a href="#_sub20" class="code">function experiment = get_experiment(obj, id)</a></li> + <li><a href="#_sub21" class="code">function exp = new_experiment(obj, type, code, project)</a> + </li> + <li><a href="#_sub22" class="code">function objects = get_objects(obj, varargin)</a></li> + <li><a href="#_sub23" class="code">function object = get_object(obj, id)</a></li> + <li><a href="#_sub24" class="code">function object = new_object(obj, type, space, code)</a></li> + <li><a href="#_sub25" class="code">function object = delete_object(obj, object, reason)</a></li> + <li><a href="#_sub26" class="code">function datasets = get_datasets(obj, varargin)</a></li> + <li><a href="#_sub27" class="code">function dataset = get_dataset(obj, permid, varargin)</a> + </li> + <li><a href="#_sub28" class="code">function files = get_dataset_files(obj, dataset, + varargin)</a></li> + <li><a href="#_sub29" class="code">function path_to_file = dataset_download(obj, dataset, files, + varargin)</a></li> + <li><a href="#_sub30" class="code">function dataset = new_dataset(obj, type, object, file_list, + varargin)</a></li> + <li><a href="#_sub31" class="code">function dataset = new_dataset_container(obj, type, + experiment, object)</a></li> +</ul> -<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre>0001 classdef <a href="OpenBis.html" class="code" title="">OpenBis</a> 0002 <span class="comment">% OpenBis High-level class for interacting with Python (pyBIS) Openbis objects</span> 0003 <span class="comment">% This class creates a MATLAB OpenBis object that encapsulates the Python (pyBIS) Openbis object</span> @@ -73,21 +133,24 @@ This function is called by: 0027 <span class="comment">%% Constructor method</span> 0028 <a name="_sub0" href="#_subfunctions" class="code">function obj = OpenBis(varargin)</a> 0029 <span class="comment">% OpenBis Constructor method for class OpenBis</span> -0030 <span class="comment">% Creates the Python Openbis object and logs into the server</span> +0030 <span + class="comment">% Creates the Python Openbis object and logs into the server</span> 0031 <span class="comment">% Optional positional input arguments:</span> 0032 <span class="comment">% url ... URL of the openBIS server (incl. port)</span> 0033 <span class="comment">% user ... user name for openBIS</span> 0034 <span class="comment">% pw ... password for openBIS</span> 0035 <span class="comment">% Usage:</span> 0036 <span class="comment">% obi = OpenBis() --> opens UI to enter URL, user name and password</span> -0037 <span class="comment">% obi = OpenBis('server_url', 'user_name', 'user_password')</span> +0037 <span + class="comment">% obi = OpenBis('server_url', 'user_name', 'user_password')</span> 0038 0039 <span class="keyword">if</span> nargin > 0 0040 url = varargin{1}; 0041 user = varargin{2}; 0042 pw = varargin{3}; 0043 <span class="keyword">else</span> -0044 [url, user, pw] = <a href="user_url_pw_inputdlg.html" class="code" title="function [url, user, pw] = user_url_pw_inputdlg">user_url_pw_inputdlg</a>; +0044 [url, user, pw] = <a href="user_url_pw_inputdlg.html" class="code" + title="function [url, user, pw] = user_url_pw_inputdlg">user_url_pw_inputdlg</a>; 0045 <span class="keyword">end</span> 0046 0047 o = py.pybis.Openbis(url, pyargs(<span class="string">'verify_certificates'</span>, 0)); @@ -106,7 +169,8 @@ This function is called by: 0060 obj.pybis.logout(); 0061 <span class="keyword">end</span> 0062 -0063 <a name="_sub2" href="#_subfunctions" class="code">function tf= is_session_active(obj)</a> +0063 <a name="_sub2" href="#_subfunctions" + class="code">function tf= is_session_active(obj)</a> 0064 <span class="comment">%is_session_active</span> 0065 <span class="comment">% Check if the session token is still active. Returns true or false.</span> 0066 <span class="comment">% Usage:</span> @@ -140,7 +204,8 @@ This function is called by: 0094 <span class="comment">% experiment_types = obi.get_experiment_types()</span> 0095 0096 experiment_types = obj.pybis.get_experiment_types(); -0097 experiment_types = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(experiment_types.df); +0097 experiment_types = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(experiment_types.df); 0098 <span class="keyword">end</span> 0099 0100 <a name="_sub5" href="#_subfunctions" class="code">function sample_types = get_sample_types(obj)</a> @@ -150,7 +215,8 @@ This function is called by: 0104 <span class="comment">% sample_types = obi.get_sample_types()</span> 0105 0106 sample_types = obj.pybis.get_sample_types(); -0107 sample_types = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(sample_types.df); +0107 sample_types = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(sample_types.df); 0108 <span class="keyword">end</span> 0109 0110 <a name="_sub6" href="#_subfunctions" class="code">function material_types = get_material_types(obj)</a> @@ -160,7 +226,8 @@ This function is called by: 0114 <span class="comment">% material_types = obi.get_material_types()</span> 0115 0116 material_types = obj.pybis.get_material_types(); -0117 material_types = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(material_types.df); +0117 material_types = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(material_types.df); 0118 <span class="keyword">end</span> 0119 0120 <a name="_sub7" href="#_subfunctions" class="code">function dataset_types = get_dataset_types(obj)</a> @@ -170,7 +237,8 @@ This function is called by: 0124 <span class="comment">% dataset_types = obi.get_dataset_types()</span> 0125 0126 dataset_types = obj.pybis.get_dataset_types(); -0127 dataset_types = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(dataset_types.df); +0127 dataset_types = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(dataset_types.df); 0128 <span class="keyword">end</span> 0129 0130 <a name="_sub8" href="#_subfunctions" class="code">function terms = get_terms(obj)</a> @@ -180,7 +248,8 @@ This function is called by: 0134 <span class="comment">% terms = obi.get_terms()</span> 0135 0136 terms = obj.pybis.get_terms(); -0137 terms = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(terms.df); +0137 terms = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(terms.df); 0138 <span class="keyword">end</span> 0139 0140 <a name="_sub9" href="#_subfunctions" class="code">function tags = get_tags(obj)</a> @@ -190,7 +259,8 @@ This function is called by: 0144 <span class="comment">% tags = obi.get_tags()</span> 0145 0146 tags = obj.pybis.get_tags(); -0147 tags = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(tags.df); +0147 tags = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(tags.df); 0148 <span class="keyword">end</span> 0149 0150 @@ -201,14 +271,16 @@ This function is called by: 0155 <span class="comment">% new_space</span> 0156 <span class="comment">% space.delete</span> 0157 -0158 <a name="_sub10" href="#_subfunctions" class="code">function spaces = get_spaces(obj)</a> +0158 <a name="_sub10" href="#_subfunctions" + class="code">function spaces = get_spaces(obj)</a> 0159 <span class="comment">%get_spaces</span> 0160 <span class="comment">% Return table of all available spaces.</span> 0161 <span class="comment">% Usage:</span> 0162 <span class="comment">% spaces = obi.get_spaces()</span> 0163 0164 spaces = obj.pybis.get_spaces(); -0165 spaces = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(spaces.df); +0165 spaces = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(spaces.df); 0166 <span class="keyword">end</span> 0167 0168 <a name="_sub11" href="#_subfunctions" class="code">function space = get_space(obj, code)</a> @@ -232,14 +304,16 @@ This function is called by: 0186 <span class="comment">% Usage:</span> 0187 <span class="comment">% space = obi.new_space('code', 'description')</span> 0188 -0189 space = obj.pybis.new_space(pyargs(<span class="string">'code'</span>, code, <span class="keyword">...</span> +0189 space = obj.pybis.new_space(pyargs(<span class="string">'code'</span>, code, <span + class="keyword">...</span> 0190 <span class="string">'description'</span>, description)); 0191 space.save; 0192 <span class="keyword">end</span> 0193 0194 <a name="_sub13" href="#_subfunctions" class="code">function delete_space(obj, code, reason)</a> 0195 <span class="comment">%delete_space</span> -0196 <span class="comment">% Delete space with code and provide a reason for deletion</span> +0196 <span + class="comment">% Delete space with code and provide a reason for deletion</span> 0197 <span class="comment">% Required input arguments:</span> 0198 <span class="comment">% code ... Space code</span> 0199 <span class="comment">% reason ... reason for deletion</span> @@ -267,8 +341,10 @@ This function is called by: 0221 <span class="comment">% Usage:</span> 0222 <span class="comment">% projects = obi.get_projects('space', 'code')</span> 0223 -0224 projects = obj.pybis.get_projects(pyargs(<span class="string">'space'</span>, space, <span class="string">'code'</span>, code)); -0225 projects = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(projects.df); +0224 projects = obj.pybis.get_projects(pyargs(<span class="string">'space'</span>, space, <span + class="string">'code'</span>, code)); +0225 projects = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(projects.df); 0226 <span class="keyword">end</span> 0227 0228 <a name="_sub15" href="#_subfunctions" class="code">function project = get_project(obj, id)</a> @@ -285,23 +361,27 @@ This function is called by: 0239 0240 <a name="_sub16" href="#_subfunctions" class="code">function project = new_project(obj, space, code, description)</a> 0241 <span class="comment">%new_project</span> -0242 <span class="comment">% Create a new project in space with code and description</span> +0242 <span + class="comment">% Create a new project in space with code and description</span> 0243 <span class="comment">% Return the project object</span> 0244 <span class="comment">% Input arguments</span> 0245 <span class="comment">% space ... Space code</span> 0246 <span class="comment">% code ... Project code / id</span> 0247 <span class="comment">% description ... Project description</span> 0248 <span class="comment">% Usage:</span> -0249 <span class="comment">% project = obi.new_project('space', 'code', 'description')</span> +0249 <span + class="comment">% project = obi.new_project('space', 'code', 'description')</span> 0250 0251 space = obj.pybis.get_space(space); -0252 project = space.new_project(pyargs(<span class="string">'code'</span>, code, <span class="string">'description'</span>, description)); +0252 project = space.new_project(pyargs(<span class="string">'code'</span>, code, <span + class="string">'description'</span>, description)); 0253 project.save(); 0254 <span class="keyword">end</span> 0255 0256 <a name="_sub17" href="#_subfunctions" class="code">function delete_project(obj, code, reason)</a> 0257 <span class="comment">%delete_project</span> -0258 <span class="comment">% Delete project with code and provide a reason for deletion</span> +0258 <span + class="comment">% Delete project with code and provide a reason for deletion</span> 0259 <span class="comment">% Required input arguments:</span> 0260 <span class="comment">% code ... Project code</span> 0261 <span class="comment">% reason ... reason for deletion</span> @@ -343,8 +423,10 @@ This function is called by: 0297 parse(p, obj, varargin{:}); 0298 a = p.Results; 0299 -0300 experiments = obj.pybis.get_experiments(pyargs(<span class="string">'space'</span>, a.space, <span class="string">'type'</span>, a.type, <span class="string">'project'</span>, a.project)); -0301 experiments = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(experiments.df); +0300 experiments = obj.pybis.get_experiments(pyargs(<span class="string">'space'</span>, a.space, <span + class="string">'type'</span>, a.type, <span class="string">'project'</span>, a.project)); +0301 experiments = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(experiments.df); 0302 <span class="keyword">end</span> 0303 0304 <a name="_sub19" href="#_subfunctions" class="code">function experiment = get_experiment(obj, id)</a> @@ -364,7 +446,8 @@ This function is called by: 0318 <span class="comment">% Required input arguments:</span> 0319 <span class="comment">% type ... new experiment type - see: obi.get_experiment_types()</span> 0320 <span class="comment">% code ... new experiment code</span> -0321 <span class="comment">% project ... project for new experiment ('/SPACE/Project')</span> +0321 <span + class="comment">% project ... project for new experiment ('/SPACE/Project')</span> 0322 <span class="comment">% Usage:</span> 0323 <span class="comment">% exp = obi.new_experiment('DEFAULT_EXPERIMENT', 'EXP1234', '/SPACE/Project')</span> 0324 @@ -375,7 +458,9 @@ This function is called by: 0329 p = obj.get_project(project); 0330 0331 <span class="comment">% instantiate a new experiment object</span> -0332 exp = py.pybis.pybis.Experiment(obj.pybis, pyargs(<span class="string">'type'</span>, t, <span class="string">'code'</span>, code, <span class="string">'project'</span>, p)); +0332 exp = py.pybis.pybis.Experiment(obj.pybis, pyargs(<span + class="string">'type'</span>, t, <span class="string">'code'</span>, code, <span + class="string">'project'</span>, p)); 0333 0334 <span class="comment">% save experiment</span> 0335 exp.save(); @@ -391,7 +476,8 @@ This function is called by: 0345 0346 <a name="_sub21" href="#_subfunctions" class="code">function objects = get_objects(obj, varargin)</a> 0347 <span class="comment">%get_objects</span> -0348 <span class="comment">% Return a table of objects matching specified criteria</span> +0348 <span + class="comment">% Return a table of objects matching specified criteria</span> 0349 <span class="comment">% Optional keyword arguments:</span> 0350 <span class="comment">% id ... object identifier ('SPACE/PROJECT/')</span> 0351 <span class="comment">% Usage:</span> @@ -407,7 +493,8 @@ This function is called by: 0361 a = p.Results; 0362 0363 objects = obj.pybis.get_objects(a.id); -0364 objects = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(objects.df); +0364 objects = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(objects.df); 0365 <span class="keyword">end</span> 0366 0367 <a name="_sub22" href="#_subfunctions" class="code">function object = get_object(obj, id)</a> @@ -434,7 +521,9 @@ This function is called by: 0388 <span class="comment">% Usage:</span> 0389 <span class="comment">% object = obi.new_object('type', 'space', 'code')</span> 0390 -0391 object = obj.pybis.new_object(pyargs(<span class="string">'type'</span>, type, <span class="string">'space'</span>, space, <span class="string">'code'</span>, code)); +0391 object = obj.pybis.new_object(pyargs(<span + class="string">'type'</span>, type, <span class="string">'space'</span>, space, <span + class="string">'code'</span>, code)); 0392 object.save(); 0393 <span class="keyword">end</span> 0394 @@ -490,9 +579,13 @@ This function is called by: 0444 parse(p, obj, varargin{:}); 0445 a = p.Results; 0446 -0447 datasets = obj.pybis.get_datasets(pyargs(<span class="string">'code'</span>, a.code, <span class="string">'type'</span>, a.type, <span class="string">'experiment'</span>, a.experiment, <span class="keyword">...</span> -0448 <span class="string">'project'</span>, a.project, <span class="string">'tags'</span>, a.tags)); -0449 datasets = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(datasets.df); +0447 datasets = obj.pybis.get_datasets(pyargs(<span class="string">'code'</span>, a.code, <span + class="string">'type'</span>, a.type, <span class="string">'experiment'</span>, a.experiment, <span + class="keyword">...</span> +0448 <span class="string">'project'</span>, a.project, <span + class="string">'tags'</span>, a.tags)); +0449 datasets = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(datasets.df); 0450 <span class="keyword">end</span> 0451 0452 <a name="_sub26" href="#_subfunctions" class="code">function dataset = get_dataset(obj, permid, varargin)</a> @@ -519,10 +612,12 @@ This function is called by: 0473 0474 <a name="_sub27" href="#_subfunctions" class="code">function files = get_dataset_files(obj, dataset, varargin)</a> 0475 <span class="comment">%get_dataset_files</span> -0476 <span class="comment">% Get list of files in a dataset starting with start_folder.</span> +0476 <span + class="comment">% Get list of files in a dataset starting with start_folder.</span> 0477 <span class="comment">% Input arguments:</span> 0478 <span class="comment">% dataset ... dataset object returned by get_dataset</span> -0479 <span class="comment">% start_folder ... starting folder for files (default: '/')</span> +0479 <span + class="comment">% start_folder ... starting folder for files (default: '/')</span> 0480 <span class="comment">% Usage:</span> 0481 <span class="comment">% files = obi.get_dataset_files(dataset)</span> 0482 @@ -536,7 +631,8 @@ This function is called by: 0490 a = p.Results; 0491 0492 files = dataset.get_files(pyargs(<span class="string">'start_folder'</span>, a.start_folder)); -0493 files = <a href="df_to_table.html" class="code" title="function [matlab_table] = df_to_table(df)">df_to_table</a>(files); +0493 files = <a href="df_to_table.html" class="code" + title="function [matlab_table] = df_to_table(df)">df_to_table</a>(files); 0494 <span class="keyword">end</span> 0495 0496 <a name="_sub28" href="#_subfunctions" class="code">function path_to_file = dataset_download(obj, dataset, files, varargin)</a> @@ -544,7 +640,8 @@ This function is called by: 0498 <span class="comment">% Download files in a dataset</span> 0499 <span class="comment">% dataset ... dataset object returned by get_dataset</span> 0500 <span class="comment">% files ... cell array of files</span> -0501 <span class="comment">% destination ... folder to download to (default: data)</span> +0501 <span + class="comment">% destination ... folder to download to (default: data)</span> 0502 <span class="comment">% wait_until_finished ... wait or download in the background (default: true)</span> 0503 <span class="comment">% workers ... number of workers to use for download (default: 10)</span> 0504 <span class="comment">% Usage:</span> @@ -565,7 +662,9 @@ This function is called by: 0519 parse(p, obj, dataset, files, varargin{:}); 0520 a = p.Results; 0521 -0522 dataset.download(pyargs(<span class="string">'files'</span>, a.files, <span class="string">'destination'</span>, a.destination, <span class="string">'wait_until_finished'</span>, a.wait_until_finished, <span class="string">'workers'</span>, int16(a.workers))); +0522 dataset.download(pyargs(<span class="string">'files'</span>, a.files, <span + class="string">'destination'</span>, a.destination, <span class="string">'wait_until_finished'</span>, a.wait_until_finished, <span + class="string">'workers'</span>, int16(a.workers))); 0523 0524 path_to_file = fullfile(a.destination, dataset.char, a.files); 0525 @@ -593,8 +692,10 @@ This function is called by: 0547 parse(p, obj, type, object, file_list, varargin{:}); 0548 a = p.Results; 0549 -0550 dataset = obj.pybis.new_dataset(pyargs(<span class="string">'type'</span>, a.type, <span class="string">'experiment'</span>, a.object, <span class="keyword">...</span> -0551 <span class="string">'files'</span>, a.file_list, <span class="string">'props'</span>, a.properties)); +0550 dataset = obj.pybis.new_dataset(pyargs(<span class="string">'type'</span>, a.type, <span + class="string">'experiment'</span>, a.object, <span class="keyword">...</span> +0551 <span class="string">'files'</span>, a.file_list, <span + class="string">'props'</span>, a.properties)); 0552 dataset.save(); 0553 0554 <span class="keyword">end</span> @@ -617,7 +718,9 @@ This function is called by: 0571 parse(p, obj, type, experiment, object, file_list); 0572 a = p.Results; 0573 -0574 dataset = obj.pybis.new_dataset(pyargs(<span class="string">'type'</span>, a.type, <span class="string">'experiment'</span>, a.experiment, <span class="string">'sample'</span>, a.object, <span class="string">'kind'</span>, <span class="string">'CONTAINER'</span>)); +0574 dataset = obj.pybis.new_dataset(pyargs(<span class="string">'type'</span>, a.type, <span + class="string">'experiment'</span>, a.experiment, <span class="string">'sample'</span>, a.object, <span + class="string">'kind'</span>, <span class="string">'CONTAINER'</span>)); 0575 dataset.save(); 0576 0577 <span class="keyword">end</span> @@ -627,7 +730,12 @@ This function is called by: 0581 0582 <span class="keyword">end</span> 0583 -0584</pre></div> -<hr><address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> +0584</pre> +</div> +<hr> +<address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a + href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> + © 2005 +</address> </body> </html> \ No newline at end of file diff --git a/matlab-openbis/html/matlab-openbis/df_to_table.html b/api-openbis-matlab/html/matlab-openbis/df_to_table.html similarity index 51% rename from matlab-openbis/html/matlab-openbis/df_to_table.html rename to api-openbis-matlab/html/matlab-openbis/df_to_table.html index 848355f225d01dedd2421ad58b4dcfa6a90b58e2..c4afdc14bbc4906fa00dcea4d3c5ba493bee6be0 100644 --- a/matlab-openbis/html/matlab-openbis/df_to_table.html +++ b/api-openbis-matlab/html/matlab-openbis/df_to_table.html @@ -1,21 +1,23 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> + "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> - <title>Description of df_to_table</title> - <meta name="keywords" content="df_to_table"> - <meta name="description" content="df_to_table"> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> - <meta name="robots" content="index, follow"> - <link type="text/css" rel="stylesheet" href="../m2html.css"> + <title>Description of df_to_table</title> + <meta name="keywords" content="df_to_table"> + <meta name="description" content="df_to_table"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> </head> <body> <a name="_top"></a> -<div><a href="../index.html">Home</a> > <a href="index.html">matlab-openbis</a> > df_to_table.m</div> +<div><a href="../index.html">Home</a> > <a href="index.html">api-openbis-matlab</a> > + df_to_table.m +</div> <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> -<td align="right"><a href="index.html">Index for matlab-openbis <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> +<td align="right"><a href="index.html">Index for api-openbis-matlab <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> <h1>df_to_table </h1> @@ -23,26 +25,31 @@ <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> <div class="box"><strong>df_to_table</strong></div> -<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="box"><strong>function [matlab_table] = df_to_table(df) </strong></div> -<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre class="comment">df_to_table - Returns a Matlab table for a Python dataframe</pre></div> + Returns a Matlab table for a Python dataframe</pre> +</div> <!-- crossreference --> -<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> This function calls: <ul style="list-style-image:url(../matlabicon.gif)"> </ul> This function is called by: <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="OpenBis.html" class="code" title="">OpenBis</a> </li></ul> + <li><a href="OpenBis.html" class="code" title="">OpenBis</a></li> +</ul> <!-- crossreference --> - -<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [matlab_table] = df_to_table(df)</a> 0002 <span class="comment">%df_to_table</span> 0003 <span class="comment">% Returns a Matlab table for a Python dataframe</span> @@ -52,7 +59,12 @@ This function is called by: 0007 matlab_table = readtable(csv_temp); 0008 delete(csv_temp); 0009 -0010 <span class="keyword">end</span></pre></div> -<hr><address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> +0010 <span class="keyword">end</span></pre> +</div> +<hr> +<address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a + href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> + © 2005 +</address> </body> </html> \ No newline at end of file diff --git a/api-openbis-matlab/html/matlab-openbis/index.html b/api-openbis-matlab/html/matlab-openbis/index.html new file mode 100644 index 0000000000000000000000000000000000000000..cb48fc983c48a14dcfac2dd3edcff1b08b601968 --- /dev/null +++ b/api-openbis-matlab/html/matlab-openbis/index.html @@ -0,0 +1,82 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Index for Directory api-openbis-matlab</title> + <meta name="keywords" content="api-openbis-matlab"> + <meta name="description" content="Index for Directory api-openbis-matlab"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> +</head> +<body> +<a name="_top"></a> +<table width="100%"> + <tr> + <td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master + index</a></td> + <td align="right"><a href="index.html">Index for api-openbis-matlab <img alt=">" + border="0" + src="../right.png"></a> + </td> + </tr> +</table> + +<h1>Index for api-openbis-matlab</h1> + +<h2>Matlab files in this directory:</h2> +<table> + <tr> + <td><img src="../matlabicon.gif" alt="" border=""> <a href="OpenBis.html">OpenBis</a> + </td> + <td></td> + </tr> + <tr> + <td><img src="../matlabicon.gif" alt="" border=""> <a href="df_to_table.html">df_to_table</a> + </td> + <td>df_to_table</td> + </tr> + <tr> + <td><img src="../matlabicon.gif" alt="" border=""> <a href="obi_test.html">obi_test</a> + </td> + <td>obi_test Testing function for the Matlab openBIS Toolbox</td> + </tr> + <tr> + <td><img src="../matlabicon.gif" alt="" border=""> <a href="passcode.html">passcode</a> + </td> + <td>PASSCODE password input dialog box.</td> + </tr> + <tr> + <td><img src="../matlabicon.gif" alt="" border=""> <a href="passwordEntryDialog.html">passwordEntryDialog</a> + </td> + <td>PASSWORDENTRYDIALOG</td> + </tr> + <tr> + <td><img src="../matlabicon.gif" alt="" border=""> <a + href="user_url_pw_input_dialog.html">user_url_pw_input_dialog</a></td> + <td>user_url_pw_input</td> + </tr> + <tr> + <td><img src="../matlabicon.gif" alt="" border=""> <a href="user_url_pw_inputdlg.html">user_url_pw_inputdlg</a> + </td> + <td>user_url_pw_inputdlg</td> + </tr> +</table> + + +<h2>Subsequent directories:</h2> +<ul style="list-style-image:url(../matlabicon.gif)"> + <li>.git</li> + <li>.ipynb_checkpoints</li> + <li>data</li> + <li>html</li> +</ul> + +<hr> +<address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a + href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> + © 2005 +</address> +</body> +</html> \ No newline at end of file diff --git a/matlab-openbis/html/matlab-openbis/obi_test.html b/api-openbis-matlab/html/matlab-openbis/obi_test.html similarity index 75% rename from matlab-openbis/html/matlab-openbis/obi_test.html rename to api-openbis-matlab/html/matlab-openbis/obi_test.html index c81cf3ecc70a0dbebdb22dd14c1e40cb3fdfcec0..30829052b6e943a2ecb08b7c71b5ae3cce702361 100644 --- a/matlab-openbis/html/matlab-openbis/obi_test.html +++ b/api-openbis-matlab/html/matlab-openbis/obi_test.html @@ -1,21 +1,23 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> + "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> - <title>Description of obi_test</title> - <meta name="keywords" content="obi_test"> - <meta name="description" content="obi_test Testing function for the Matlab openBIS Toolbox"> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> - <meta name="robots" content="index, follow"> - <link type="text/css" rel="stylesheet" href="../m2html.css"> + <title>Description of obi_test</title> + <meta name="keywords" content="obi_test"> + <meta name="description" content="obi_test Testing function for the Matlab openBIS Toolbox"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> </head> <body> <a name="_top"></a> -<div><a href="../index.html">Home</a> > <a href="index.html">matlab-openbis</a> > obi_test.m</div> +<div><a href="../index.html">Home</a> > <a href="index.html">api-openbis-matlab</a> > + obi_test.m +</div> <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> -<td align="right"><a href="index.html">Index for matlab-openbis <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> +<td align="right"><a href="index.html">Index for api-openbis-matlab <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> <h1>obi_test </h1> @@ -23,29 +25,34 @@ <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> <div class="box"><strong>obi_test Testing function for the Matlab openBIS Toolbox</strong></div> -<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="box"><strong>function pass = obi_test(varargin) </strong></div> -<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre class="comment">obi_test Testing function for the Matlab openBIS Toolbox This function runs a few tests for the Matlab openBIS Toolbox. It returns true if all the tests pass successfully and fasle otherwise. Input argumtents (all optional): - teardown ... delete everything at the end (true)</pre></div> + teardown ... delete everything at the end (true)</pre> +</div> <!-- crossreference --> -<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> This function calls: <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="OpenBis.html" class="code" title="">OpenBis</a> </li></ul> + <li><a href="OpenBis.html" class="code" title="">OpenBis</a></li> +</ul> This function is called by: <ul style="list-style-image:url(../matlabicon.gif)"> </ul> <!-- crossreference --> - -<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function pass = obi_test(varargin)</a> 0002 <span class="comment">%obi_test Testing function for the Matlab openBIS Toolbox</span> 0003 <span class="comment">% This function runs a few tests for the Matlab openBIS Toolbox. It</span> @@ -86,7 +93,8 @@ This function is called by: 0038 rethrow(lasterror) 0039 <span class="keyword">end</span> 0040 projects = obi.get_projects(space_name, project_name); -0041 assert(any(ismember(projects.identifier, sprintf(<span class="string">'/%s/%s'</span>, space_name, project_name))), <span class="string">'Project has not been created'</span>); +0041 assert(any(ismember(projects.identifier, sprintf(<span class="string">'/%s/%s'</span>, space_name, project_name))), <span + class="string">'Project has not been created'</span>); 0042 0043 <span class="comment">%% 4. Create experiment for test</span> 0044 experiment_name = <span class="string">'TESTING_EXPERIMENT'</span>; @@ -110,7 +118,12 @@ This function is called by: 0062 obi.logout() 0063 0064 <span class="keyword">end</span> -0065</pre></div> -<hr><address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> +0065</pre> +</div> +<hr> +<address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a + href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> + © 2005 +</address> </body> </html> \ No newline at end of file diff --git a/matlab-openbis/html/matlab-openbis/passcode.html b/api-openbis-matlab/html/matlab-openbis/passcode.html similarity index 63% rename from matlab-openbis/html/matlab-openbis/passcode.html rename to api-openbis-matlab/html/matlab-openbis/passcode.html index 0ae15324a56233857b46b9675d643e479d2efa63..6490000cc79ac69fdbf2ea2fb445a75bcc9b8412 100644 --- a/matlab-openbis/html/matlab-openbis/passcode.html +++ b/api-openbis-matlab/html/matlab-openbis/passcode.html @@ -1,18 +1,20 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> + "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> - <title>Description of passcode</title> - <meta name="keywords" content="passcode"> - <meta name="description" content="PASSCODE password input dialog box."> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> - <meta name="robots" content="index, follow"> - <link type="text/css" rel="stylesheet" href="../m2html.css"> + <title>Description of passcode</title> + <meta name="keywords" content="passcode"> + <meta name="description" content="PASSCODE password input dialog box."> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> </head> <body> <a name="_top"></a> -<div><a href="../index.html">Home</a> > <a href="index.html">matlab-openbis</a> > passcode.m</div> +<div><a href="../index.html">Home</a> > <a href="index.html">api-openbis-matlab</a> > + passcode.m +</div> <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> <td align="right"><a href="index.html">Index for matlab-openbis <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> @@ -21,38 +23,49 @@ </h1> <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> -<div class="box"><strong>PASSCODE password input dialog box.</strong></div> +<div class="box"><strong>PASSCODE password input dialog box.</strong></div> -<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="box"><strong>function pass = passcode </strong></div> -<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> -<div class="fragment"><pre class="comment">PASSCODE password input dialog box. - passcode creates a modal dialog box that returns user password input. - Given characters are substituted with '*'-Signs like in usual password dialogs. - - usage: - password = PASSCODE - - Adapted from https://www.mathworks.com/matlabcentral/fileexchange/6590-passcode - Version: v1.2 (03-Mar-2008) - Author: Elmar Tarajan [MCommander@gmx.de]</pre></div> +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> +<div class="fragment"><pre class="comment">PASSCODE password input dialog box. + passcode creates a modal dialog box that returns user password input. + Given characters are substituted with '*'-Signs like in usual password dialogs. + + usage: + password = PASSCODE + + Adapted from https://www.mathworks.com/matlabcentral/fileexchange/6590-passcode + Version: v1.2 (03-Mar-2008) + Author: Elmar Tarajan [MCommander@gmx.de]</pre> +</div> <!-- crossreference --> -<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> This function calls: <ul style="list-style-image:url(../matlabicon.gif)"> </ul> This function is called by: <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="user_url_pw_inputdlg.html" class="code" title="function [url, user, pw] = user_url_pw_inputdlg">user_url_pw_inputdlg</a> user_url_pw_inputdlg</li></ul> + <li><a href="user_url_pw_inputdlg.html" class="code" + title="function [url, user, pw] = user_url_pw_inputdlg">user_url_pw_inputdlg</a> + user_url_pw_inputdlg + </li> +</ul> <!-- crossreference --> -<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="#_sub1" class="code">function keypress_Callback(~,data,~,hpass,~)</a></li></ul> + <li><a href="#_sub1" class="code">function keypress_Callback(~,data,~,hpass,~)</a></li> +</ul> -<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function pass = passcode</a> 0002 <span class="comment">%PASSCODE password input dialog box.</span> 0003 <span class="comment">% passcode creates a modal dialog box that returns user password input.</span> @@ -67,38 +80,57 @@ This function is called by: 0012 0013 0014 ScreenSize = get(0,<span class="string">'ScreenSize'</span>); -0015 hfig = figure(<span class="string">'Menubar'</span>,<span class="string">'none'</span>, <span class="keyword">...</span> -0016 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>, <span class="keyword">...</span> -0017 <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span class="keyword">...</span> -0018 <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span class="keyword">...</span> -0019 <span class="string">'Name'</span>,[<span class="string">'Enter openBIS password'</span>], <span class="keyword">...</span> -0020 <span class="string">'Position'</span>,[ (ScreenSize(3:4)-[300 75])/2 300 75], <span class="keyword">...</span> +0015 hfig = figure(<span class="string">'Menubar'</span>,<span class="string">'none'</span>, <span + class="keyword">...</span> +0016 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>, <span + class="keyword">...</span> +0017 <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span + class="keyword">...</span> +0018 <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span + class="keyword">...</span> +0019 <span class="string">'Name'</span>,[<span class="string">'Enter openBIS password'</span>], <span + class="keyword">...</span> +0020 <span class="string">'Position'</span>,[ (ScreenSize(3:4)-[300 75])/2 300 75], <span + class="keyword">...</span> 0021 <span class="string">'Color'</span>,[0.8 0.8 0.8], <span class="keyword">...</span> 0022 <span class="string">'WindowStyle'</span>,<span class="string">'modal'</span>); 0023 hedit = uicontrol(<span class="string">'Parent'</span>,hfig, <span class="keyword">...</span> -0024 <span class="string">'Style'</span>,<span class="string">'Edit'</span>, <span class="keyword">...</span> -0025 <span class="string">'Enable'</span>,<span class="string">'inactive'</span>, <span class="keyword">...</span> -0026 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span class="string">'Position'</span>,[49 28 202 22], <span class="keyword">...</span> +0024 <span class="string">'Style'</span>,<span class="string">'Edit'</span>, <span + class="keyword">...</span> +0025 <span class="string">'Enable'</span>,<span class="string">'inactive'</span>, <span + class="keyword">...</span> +0026 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span + class="string">'Position'</span>,[49 28 202 22], <span class="keyword">...</span> 0027 <span class="string">'FontSize'</span>,15, <span class="keyword">...</span> 0028 <span class="string">'String'</span>,[], <span class="keyword">...</span> 0029 <span class="string">'BackGroundColor'</span>,[0.7 0.7 0.7]); 0030 hpass = uicontrol(<span class="string">'Parent'</span>,hfig, <span class="keyword">...</span> -0031 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span class="keyword">...</span> -0032 <span class="string">'Tag'</span>,<span class="string">'password'</span>, <span class="keyword">...</span> -0033 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span class="string">'Position'</span>,[51 30 198 18], <span class="keyword">...</span> +0031 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span + class="keyword">...</span> +0032 <span class="string">'Tag'</span>,<span class="string">'password'</span>, <span + class="keyword">...</span> +0033 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span + class="string">'Position'</span>,[51 30 198 18], <span class="keyword">...</span> 0034 <span class="string">'FontSize'</span>,15, <span class="keyword">...</span> 0035 <span class="string">'BackGroundColor'</span>,[1 1 1]); 0036 hwarn = uicontrol(<span class="string">'Parent'</span>,hfig, <span class="keyword">...</span> -0037 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span class="keyword">...</span> -0038 <span class="string">'Tag'</span>,<span class="string">'error'</span>, <span class="keyword">...</span> -0039 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span class="string">'Position'</span>,[50 2 200 20], <span class="keyword">...</span> +0037 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span + class="keyword">...</span> +0038 <span class="string">'Tag'</span>,<span class="string">'error'</span>, <span + class="keyword">...</span> +0039 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span + class="string">'Position'</span>,[50 2 200 20], <span class="keyword">...</span> 0040 <span class="string">'FontSize'</span>,8, <span class="keyword">...</span> -0041 <span class="string">'String'</span>,<span class="string">'character not allowed'</span>,<span class="keyword">...</span> -0042 <span class="string">'Visible'</span>,<span class="string">'off'</span>,<span class="keyword">...</span> +0041 <span class="string">'String'</span>,<span + class="string">'character not allowed'</span>,<span class="keyword">...</span> +0042 <span class="string">'Visible'</span>,<span class="string">'off'</span>,<span + class="keyword">...</span> 0043 <span class="string">'ForeGroundColor'</span>,[1 0 0], <span class="keyword">...</span> 0044 <span class="string">'BackGroundColor'</span>,[0.8 0.8 0.8]); 0045 -0046 set(hfig,<span class="string">'KeyPressFcn'</span>,{@<a href="#_sub1" class="code" title="subfunction keypress_Callback(~,data,~,hpass,~)">keypress_Callback</a>,hedit,hpass,hwarn}, <span class="keyword">...</span> +0046 set(hfig,<span class="string">'KeyPressFcn'</span>,{@<a href="#_sub1" class="code" + title="subfunction keypress_Callback(~,data,~,hpass,~)">keypress_Callback</a>,hedit,hpass,hwarn}, <span + class="keyword">...</span> 0047 <span class="string">'CloseRequestFcn'</span>,<span class="string">'uiresume'</span>) 0048 0049 uiwait @@ -106,7 +138,8 @@ This function is called by: 0051 delete(hfig) 0052 0053 -0054 <a name="_sub1" href="#_subfunctions" class="code">function keypress_Callback(~,data,~,hpass,~)</a> +0054 <a name="_sub1" href="#_subfunctions" + class="code">function keypress_Callback(~,data,~,hpass,~)</a> 0055 0056 pass = get(hpass,<span class="string">'userdata'</span>); 0057 @@ -126,7 +159,12 @@ This function is called by: 0071 0072 set(hpass,<span class="string">'userdata'</span>,pass) 0073 set(hpass,<span class="string">'String'</span>,char(<span class="string">'*'</span>*sign(pass))) -0074</pre></div> -<hr><address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> +0074</pre> +</div> +<hr> +<address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a + href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> + © 2005 +</address> </body> </html> \ No newline at end of file diff --git a/matlab-openbis/html/matlab-openbis/passwordEntryDialog.html b/api-openbis-matlab/html/matlab-openbis/passwordEntryDialog.html similarity index 78% rename from matlab-openbis/html/matlab-openbis/passwordEntryDialog.html rename to api-openbis-matlab/html/matlab-openbis/passwordEntryDialog.html index 73a7a2d48b98b44c4b430c6e66660687152bc4b0..7d550c27bae82befd93020e27e6a34e8d76e95e4 100644 --- a/matlab-openbis/html/matlab-openbis/passwordEntryDialog.html +++ b/api-openbis-matlab/html/matlab-openbis/passwordEntryDialog.html @@ -1,18 +1,20 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> + "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> - <title>Description of passwordEntryDialog</title> - <meta name="keywords" content="passwordEntryDialog"> - <meta name="description" content="PASSWORDENTRYDIALOG"> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> - <meta name="robots" content="index, follow"> - <link type="text/css" rel="stylesheet" href="../m2html.css"> + <title>Description of passwordEntryDialog</title> + <meta name="keywords" content="passwordEntryDialog"> + <meta name="description" content="PASSWORDENTRYDIALOG"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> </head> <body> <a name="_top"></a> -<div><a href="../index.html">Home</a> > <a href="index.html">matlab-openbis</a> > passwordEntryDialog.m</div> +<div><a href="../index.html">Home</a> > <a href="index.html">api-openbis-matlab</a> > + passwordEntryDialog.m +</div> <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> <td align="right"><a href="index.html">Index for matlab-openbis <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> @@ -23,99 +25,104 @@ <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> <div class="box"><strong>PASSWORDENTRYDIALOG</strong></div> -<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> -<div class="box"><strong>function [Password, UserName] = passwordEntryDialog(varargin) </strong></div> +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> +<div class="box"><strong>function [Password, UserName] = passwordEntryDialog(varargin) </strong> +</div> -<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> -<div class="fragment"><pre class="comment"> PASSWORDENTRYDIALOG - [Password, UserName] = passwordEntryDialog(varargin) - - Create a password entry dialog for entering a password that is visibly - hidden. Java must be enabled for this function to work properly. - - It has only been tested on the Windows platform in R2008a. It should - work in R2007a or later. - - The password box is created using the Java Swing component - JPasswordField. - - Optional Input Arguments - ------------------------ - - 'enterUserName' DEFAULT: false - Display the user name entry box. The user name entered must be at least - one character or an error dialog is displayed. - - 'DefaultUserName' DEFAULT: '' - String value of user name to populate in User Name box upon creation. - - 'ValidatePassword' DEFAULT: false - Display dialog box to reenter password for validation purposes. - - 'CheckPasswordLength' DEFAULT: true - Check the password length to ensure it meets the specified criteria. - - 'PasswordLengthMin' DEFAULT: 2 - Minimum password length allowed. - - 'PasswordLengthMax' DEFAULT: 8 - Maximum password length allowed. - - 'WindowName' DEFAULT: 'Login' - Title of the password entry window. - - Examples - -------- - - Create a password dialog box with the default options. - ----------------------------------------------------------------------- - [Password] = passwordEntryDialog; - - Create a user name and password entry dialog box without password - verification. - ----------------------------------------------------------------------- - [Password, UserName] = passwordEntryDialog('enterUserName', true) - - Create a user name and password entry dialog box without password - verification. Set the user name to 'jdoe' upon startup. - ----------------------------------------------------------------------- - [Password, UserName] = passwordEntryDialog('enterUserName', true,... - 'DefaultUserName', 'jdoe') - - Create a password dialog box with password validation - ----------------------------------------------------------------------- - [Password] = passwordEntryDialog('ValidatePassword', true); - - Create a user name and password entry dialog box with password - verification. - ----------------------------------------------------------------------- - [Password, UserName] = passwordEntryDialog('enterUserName', true,... - 'ValidatePassword', true) - - Check the length of the password to be between 5 and 8 characters - ----------------------------------------------------------------------- - [Password, UserName] = passwordEntryDialog('CheckPasswordLength', true,... - 'PasswordLengthMin', 5,... - 'PasswordLengthMax', 8) - - ----------------------------------------------------------------------- - Copyright (C) 2007-2008, Jesse B. Lai - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this program. If not, see <http://www.gnu.org/licenses/></pre></div> +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> +<div class="fragment"><pre class="comment"> PASSWORDENTRYDIALOG + [Password, UserName] = passwordEntryDialog(varargin) + + Create a password entry dialog for entering a password that is visibly + hidden. Java must be enabled for this function to work properly. + + It has only been tested on the Windows platform in R2008a. It should + work in R2007a or later. + + The password box is created using the Java Swing component + JPasswordField. + + Optional Input Arguments + ------------------------ + + 'enterUserName' DEFAULT: false + Display the user name entry box. The user name entered must be at least + one character or an error dialog is displayed. + + 'DefaultUserName' DEFAULT: '' + String value of user name to populate in User Name box upon creation. + + 'ValidatePassword' DEFAULT: false + Display dialog box to reenter password for validation purposes. + + 'CheckPasswordLength' DEFAULT: true + Check the password length to ensure it meets the specified criteria. + + 'PasswordLengthMin' DEFAULT: 2 + Minimum password length allowed. + + 'PasswordLengthMax' DEFAULT: 8 + Maximum password length allowed. + + 'WindowName' DEFAULT: 'Login' + Title of the password entry window. + + Examples + -------- + + Create a password dialog box with the default options. + ----------------------------------------------------------------------- + [Password] = passwordEntryDialog; + + Create a user name and password entry dialog box without password + verification. + ----------------------------------------------------------------------- + [Password, UserName] = passwordEntryDialog('enterUserName', true) + + Create a user name and password entry dialog box without password + verification. Set the user name to 'jdoe' upon startup. + ----------------------------------------------------------------------- + [Password, UserName] = passwordEntryDialog('enterUserName', true,... + 'DefaultUserName', 'jdoe') + + Create a password dialog box with password validation + ----------------------------------------------------------------------- + [Password] = passwordEntryDialog('ValidatePassword', true); + + Create a user name and password entry dialog box with password + verification. + ----------------------------------------------------------------------- + [Password, UserName] = passwordEntryDialog('enterUserName', true,... + 'ValidatePassword', true) + + Check the length of the password to be between 5 and 8 characters + ----------------------------------------------------------------------- + [Password, UserName] = passwordEntryDialog('CheckPasswordLength', true,... + 'PasswordLengthMin', 5,... + 'PasswordLengthMax', 8) + + ----------------------------------------------------------------------- + Copyright (C) 2007-2008, Jesse B. Lai + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <http://www.gnu.org/licenses/></pre> +</div> <!-- crossreference --> -<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> This function calls: <ul style="list-style-image:url(../matlabicon.gif)"> </ul> @@ -124,11 +131,19 @@ This function is called by: </ul> <!-- crossreference --> -<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="#_sub1" class="code">function pushbutton_KeyPressFcn(hObject, eventdata, handles, ProgramOptions)</a></li><li><a href="#_sub2" class="code">function pushbutton_OK_Callback(hObject, eventdata, handles, ProgramOptions)</a></li><li><a href="#_sub3" class="code">function pushbutton_Cancel_Callback(hObject, eventdata, handles, ProgramOptions)</a></li></ul> + <li><a href="#_sub1" class="code">function pushbutton_KeyPressFcn(hObject, eventdata, handles, + ProgramOptions)</a></li> + <li><a href="#_sub2" class="code">function pushbutton_OK_Callback(hObject, eventdata, handles, + ProgramOptions)</a></li> + <li><a href="#_sub3" class="code">function pushbutton_Cancel_Callback(hObject, eventdata, + handles, ProgramOptions)</a></li> +</ul> -<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [Password, UserName] = passwordEntryDialog(varargin)</a> 0002 <span class="comment">% PASSWORDENTRYDIALOG</span> 0003 <span class="comment">% [Password, UserName] = passwordEntryDialog(varargin)</span> @@ -257,7 +272,8 @@ This function is called by: 0126 0127 <span class="comment">%% Check for Existance of Java</span> 0128 <span class="keyword">if</span> ~usejava(<span class="string">'swing'</span>) -0129 error(<span class="string">'passwordEntryDialog: Java is required for this program to run.'</span>); +0129 error(<span + class="string">'passwordEntryDialog: Java is required for this program to run.'</span>); 0130 <span class="keyword">end</span> 0131 0132 <span class="comment">%% Parse Input Arguments</span> @@ -268,12 +284,14 @@ This function is called by: 0137 ProgramOptionsParser.KeepUnmatched = true; 0138 0139 ProgramOptionsParser.addParamValue(<span class="string">'enterUserName'</span>, false, @(x) islogical(x) || isnumeric(x)); -0140 ProgramOptionsParser.addParamValue(<span class="string">'DefaultUserName'</span>, <span class="string">''</span>, @ischar); +0140 ProgramOptionsParser.addParamValue(<span class="string">'DefaultUserName'</span>, <span + class="string">''</span>, @ischar); 0141 ProgramOptionsParser.addParamValue(<span class="string">'ValidatePassword'</span>, false, @(x) islogical(x) || isnumeric(x)); 0142 ProgramOptionsParser.addParamValue(<span class="string">'CheckPasswordLength'</span>, true, @(x) islogical(x) || isnumeric(x)); 0143 ProgramOptionsParser.addParamValue(<span class="string">'PasswordLengthMin'</span>, 2, @isnumeric); 0144 ProgramOptionsParser.addParamValue(<span class="string">'PasswordLengthMax'</span>, 8, @isnumeric); -0145 ProgramOptionsParser.addParamValue(<span class="string">'WindowName'</span>, <span class="string">'Login'</span>, @ischar); +0145 ProgramOptionsParser.addParamValue(<span class="string">'WindowName'</span>, <span + class="string">'Login'</span>, @ischar); 0146 0147 <span class="comment">% Parse Input Arguments</span> 0148 <span class="keyword">try</span> @@ -290,7 +308,8 @@ This function is called by: 0159 <span class="comment">% Validate password length options</span> 0160 <span class="keyword">if</span> ProgramOptions.CheckPasswordLength 0161 <span class="keyword">if</span> ProgramOptions.PasswordLengthMax < ProgramOptions.PasswordLengthMin -0162 error(<span class="string">'MATLAB:InputParser:ArgumentFailedValidation'</span>, <span class="string">'PasswordLengthMax must be greater than PasswordLengthMin'</span>); +0162 error(<span class="string">'MATLAB:InputParser:ArgumentFailedValidation'</span>, <span + class="string">'PasswordLengthMax must be greater than PasswordLengthMin'</span>); 0163 <span class="keyword">end</span>; 0164 <span class="keyword">end</span>; 0165 @@ -318,11 +337,16 @@ This function is called by: 0187 <span class="comment">%% Create the GUI</span> 0188 0189 BackgroundColor = get(0,<span class="string">'DefaultUicontrolBackgroundcolor'</span>); -0190 handles.figure1 = figure(<span class="string">'Menubar'</span>,<span class="string">'none'</span>, <span class="keyword">...</span> -0191 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>, <span class="keyword">...</span> -0192 <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span class="keyword">...</span> -0193 <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span class="keyword">...</span> -0194 <span class="string">'Name'</span>,ProgramOptions.WindowName, <span class="keyword">...</span> +0190 handles.figure1 = figure(<span class="string">'Menubar'</span>,<span + class="string">'none'</span>, <span class="keyword">...</span> +0191 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>, <span + class="keyword">...</span> +0192 <span class="string">'Resize'</span>,<span class="string">'off'</span>, <span + class="keyword">...</span> +0193 <span class="string">'NumberTitle'</span>,<span class="string">'off'</span>, <span + class="keyword">...</span> +0194 <span class="string">'Name'</span>,ProgramOptions.WindowName, <span + class="keyword">...</span> 0195 <span class="string">'Position'</span>,PositionGUI, <span class="keyword">...</span> 0196 <span class="string">'Color'</span>, BackgroundColor, <span class="keyword">...</span> 0197 <span class="string">'WindowStyle'</span>,<span class="string">'modal'</span>); @@ -335,17 +359,25 @@ This function is called by: 0204 0205 set(handles.edit_PasswordValidate, <span class="keyword">...</span> 0206 <span class="string">'Parent'</span>, handles.figure1, <span class="keyword">...</span> -0207 <span class="string">'Tag'</span>, <span class="string">'edit_PasswordValidate'</span>, <span class="keyword">...</span> -0208 <span class="string">'Units'</span>, <span class="string">'Pixels'</span>, <span class="keyword">...</span> +0207 <span class="string">'Tag'</span>, <span class="string">'edit_PasswordValidate'</span>, <span + class="keyword">...</span> +0208 <span class="string">'Units'</span>, <span class="string">'Pixels'</span>, <span + class="keyword">...</span> 0209 <span class="string">'Position'</span>,[PositionLeft 10 BoxWidth 23]); 0210 -0211 handles.text_LabelPasswordValidate = uicontrol(<span class="string">'Parent'</span>,handles.figure1, <span class="keyword">...</span> -0212 <span class="string">'Tag'</span>, <span class="string">'text_LabelPassword'</span>, <span class="keyword">...</span> -0213 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span class="keyword">...</span> -0214 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span class="keyword">...</span> -0215 <span class="string">'Position'</span>,[PositionLeft 33 BoxWidth 16], <span class="keyword">...</span> +0211 handles.text_LabelPasswordValidate = uicontrol(<span class="string">'Parent'</span>,handles.figure1, <span + class="keyword">...</span> +0212 <span class="string">'Tag'</span>, <span + class="string">'text_LabelPassword'</span>, <span class="keyword">...</span> +0213 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span + class="keyword">...</span> +0214 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span + class="keyword">...</span> +0215 <span class="string">'Position'</span>,[PositionLeft 33 BoxWidth 16], <span + class="keyword">...</span> 0216 <span class="string">'FontSize'</span>,10, <span class="keyword">...</span> -0217 <span class="string">'String'</span>,<span class="string">'Reenter password:'</span>,<span class="keyword">...</span> +0217 <span class="string">'String'</span>,<span + class="string">'Reenter password:'</span>,<span class="keyword">...</span> 0218 <span class="string">'HorizontalAlignment'</span>, <span class="string">'Left'</span>); 0219 <span class="keyword">end</span>; 0220 @@ -356,38 +388,58 @@ This function is called by: 0225 0226 set(handles.edit_Password, <span class="keyword">...</span> 0227 <span class="string">'Parent'</span>, handles.figure1, <span class="keyword">...</span> -0228 <span class="string">'Tag'</span>, <span class="string">'edit_Password'</span>, <span class="keyword">...</span> -0229 <span class="string">'Units'</span>, <span class="string">'Pixels'</span>, <span class="keyword">...</span> +0228 <span class="string">'Tag'</span>, <span class="string">'edit_Password'</span>, <span + class="keyword">...</span> +0229 <span class="string">'Units'</span>, <span class="string">'Pixels'</span>, <span + class="keyword">...</span> 0230 <span class="string">'Position'</span>,[PositionLeft 10+OffsetBottom BoxWidth 23]); 0231 drawnow; <span class="comment">% This drawnow is required to allow the focus to work</span> 0232 -0233 handles.text_LabelPassword = uicontrol(<span class="string">'Parent'</span>,handles.figure1, <span class="keyword">...</span> -0234 <span class="string">'Tag'</span>, <span class="string">'text_LabelPassword'</span>, <span class="keyword">...</span> -0235 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span class="keyword">...</span> -0236 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span class="keyword">...</span> -0237 <span class="string">'Position'</span>,[PositionLeft 33+OffsetBottom BoxWidth 16], <span class="keyword">...</span> +0233 handles.text_LabelPassword = uicontrol(<span + class="string">'Parent'</span>,handles.figure1, <span class="keyword">...</span> +0234 <span class="string">'Tag'</span>, <span class="string">'text_LabelPassword'</span>, <span + class="keyword">...</span> +0235 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span + class="keyword">...</span> +0236 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span + class="keyword">...</span> +0237 <span class="string">'Position'</span>,[PositionLeft 33+OffsetBottom BoxWidth 16], <span + class="keyword">...</span> 0238 <span class="string">'FontSize'</span>,10, <span class="keyword">...</span> -0239 <span class="string">'String'</span>,<span class="string">'Key:'</span>,<span class="keyword">...</span> +0239 <span class="string">'String'</span>,<span class="string">'Key:'</span>,<span + class="keyword">...</span> 0240 <span class="string">'HorizontalAlignment'</span>, <span class="string">'Left'</span>); 0241 0242 <span class="comment">% Create OK Pushbutton</span> -0243 handles.pushbutton_OK = uicontrol(<span class="string">'Parent'</span>,handles.figure1, <span class="keyword">...</span> -0244 <span class="string">'Tag'</span>, <span class="string">'pushbutton_OK'</span>, <span class="keyword">...</span> -0245 <span class="string">'Style'</span>,<span class="string">'Pushbutton'</span>, <span class="keyword">...</span> -0246 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span class="keyword">...</span> -0247 <span class="string">'Position'</span>,[PositionLeft+BoxWidth+5 10 30 23], <span class="keyword">...</span> +0243 handles.pushbutton_OK = uicontrol(<span class="string">'Parent'</span>,handles.figure1, <span + class="keyword">...</span> +0244 <span class="string">'Tag'</span>, <span class="string">'pushbutton_OK'</span>, <span + class="keyword">...</span> +0245 <span class="string">'Style'</span>,<span class="string">'Pushbutton'</span>, <span + class="keyword">...</span> +0246 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span + class="keyword">...</span> +0247 <span class="string">'Position'</span>,[PositionLeft+BoxWidth+5 10 30 23], <span + class="keyword">...</span> 0248 <span class="string">'FontSize'</span>,10, <span class="keyword">...</span> -0249 <span class="string">'String'</span>,<span class="string">'OK'</span>,<span class="keyword">...</span> +0249 <span class="string">'String'</span>,<span class="string">'OK'</span>,<span + class="keyword">...</span> 0250 <span class="string">'HorizontalAlignment'</span>, <span class="string">'Center'</span>); 0251 0252 <span class="comment">% Create Cancel Pushbutton</span> -0253 handles.pushbutton_Cancel = uicontrol(<span class="string">'Parent'</span>,handles.figure1, <span class="keyword">...</span> -0254 <span class="string">'Tag'</span>, <span class="string">'pushbutton_Cancel'</span>, <span class="keyword">...</span> -0255 <span class="string">'Style'</span>,<span class="string">'Pushbutton'</span>, <span class="keyword">...</span> -0256 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span class="keyword">...</span> -0257 <span class="string">'Position'</span>,[PositionLeft+BoxWidth+30+7 10 50 23], <span class="keyword">...</span> +0253 handles.pushbutton_Cancel = uicontrol(<span + class="string">'Parent'</span>,handles.figure1, <span class="keyword">...</span> +0254 <span class="string">'Tag'</span>, <span class="string">'pushbutton_Cancel'</span>, <span + class="keyword">...</span> +0255 <span class="string">'Style'</span>,<span class="string">'Pushbutton'</span>, <span + class="keyword">...</span> +0256 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span + class="keyword">...</span> +0257 <span class="string">'Position'</span>,[PositionLeft+BoxWidth+30+7 10 50 23], <span + class="keyword">...</span> 0258 <span class="string">'FontSize'</span>,10, <span class="keyword">...</span> -0259 <span class="string">'String'</span>,<span class="string">'Cancel'</span>,<span class="keyword">...</span> +0259 <span class="string">'String'</span>,<span class="string">'Cancel'</span>,<span + class="keyword">...</span> 0260 <span class="string">'HorizontalAlignment'</span>, <span class="string">'Center'</span>); 0261 0262 <span class="comment">% Create User Name Edit Box</span> @@ -398,19 +450,28 @@ This function is called by: 0267 0268 set(handles.edit_UserName, <span class="keyword">...</span> 0269 <span class="string">'Parent'</span>, handles.figure1, <span class="keyword">...</span> -0270 <span class="string">'Tag'</span>, <span class="string">'edit_UserName'</span>, <span class="keyword">...</span> -0271 <span class="string">'Units'</span>, <span class="string">'Pixels'</span>, <span class="keyword">...</span> +0270 <span class="string">'Tag'</span>, <span class="string">'edit_UserName'</span>, <span + class="keyword">...</span> +0271 <span class="string">'Units'</span>, <span class="string">'Pixels'</span>, <span + class="keyword">...</span> 0272 <span class="string">'Position'</span>,[PositionLeft 53+OffsetBottom 200 23]); 0273 set(handles.java_UserName, <span class="string">'Text'</span>, ProgramOptions.DefaultUserName); -0274 drawnow; <span class="comment">% This drawnow is required to allow the focus to work</span> +0274 drawnow; <span + class="comment">% This drawnow is required to allow the focus to work</span> 0275 -0276 handles.text_LabelUserName = uicontrol(<span class="string">'Parent'</span>,handles.figure1, <span class="keyword">...</span> -0277 <span class="string">'Tag'</span>, <span class="string">'text_LabelUserName'</span>, <span class="keyword">...</span> -0278 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span class="keyword">...</span> -0279 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span class="keyword">...</span> -0280 <span class="string">'Position'</span>,[PositionLeft 76+OffsetBottom 200 16], <span class="keyword">...</span> +0276 handles.text_LabelUserName = uicontrol(<span class="string">'Parent'</span>,handles.figure1, <span + class="keyword">...</span> +0277 <span class="string">'Tag'</span>, <span + class="string">'text_LabelUserName'</span>, <span class="keyword">...</span> +0278 <span class="string">'Style'</span>,<span class="string">'Text'</span>, <span + class="keyword">...</span> +0279 <span class="string">'Units'</span>,<span class="string">'Pixels'</span>,<span + class="keyword">...</span> +0280 <span class="string">'Position'</span>,[PositionLeft 76+OffsetBottom 200 16], <span + class="keyword">...</span> 0281 <span class="string">'FontSize'</span>,10, <span class="keyword">...</span> -0282 <span class="string">'String'</span>,<span class="string">'User name:'</span>,<span class="keyword">...</span> +0282 <span class="string">'String'</span>,<span class="string">'User name:'</span>,<span + class="keyword">...</span> 0283 <span class="string">'HorizontalAlignment'</span>, <span class="string">'Left'</span>); 0284 0285 <span class="comment">%uicontrol(handles.edit_UserName);</span> @@ -425,9 +486,19 @@ This function is called by: 0294 <span class="comment">%% Setup Callbacks for Objects</span> 0295 <span class="comment">% Adds the callback functions for the objects in the GUI</span> 0296 -0297 set(handles.pushbutton_OK, <span class="string">'Callback'</span>, {@<a href="#_sub2" class="code" title="subfunction pushbutton_OK_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_OK_Callback</a>, handles, ProgramOptions}, <span class="string">'KeyPressFcn'</span>, {@<a href="#_sub1" class="code" title="subfunction pushbutton_KeyPressFcn(hObject, eventdata, handles, ProgramOptions)">pushbutton_KeyPressFcn</a>, handles, ProgramOptions}); -0298 set(handles.pushbutton_Cancel, <span class="string">'Callback'</span>, {@<a href="#_sub3" class="code" title="subfunction pushbutton_Cancel_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_Cancel_Callback</a>, handles, ProgramOptions}, <span class="string">'KeyPressFcn'</span>, {@<a href="#_sub1" class="code" title="subfunction pushbutton_KeyPressFcn(hObject, eventdata, handles, ProgramOptions)">pushbutton_KeyPressFcn</a>, handles, ProgramOptions}); -0299 set(handles.java_Password, <span class="string">'ActionPerformedCallback'</span>, {@<a href="#_sub2" class="code" title="subfunction pushbutton_OK_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_OK_Callback</a>, handles, ProgramOptions}); +0297 set(handles.pushbutton_OK, <span class="string">'Callback'</span>, {@<a href="#_sub2" + class="code" + title="subfunction pushbutton_OK_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_OK_Callback</a>, handles, ProgramOptions}, <span + class="string">'KeyPressFcn'</span>, {@<a href="#_sub1" class="code" + title="subfunction pushbutton_KeyPressFcn(hObject, eventdata, handles, ProgramOptions)">pushbutton_KeyPressFcn</a>, handles, ProgramOptions}); +0298 set(handles.pushbutton_Cancel, <span class="string">'Callback'</span>, {@<a href="#_sub3" + class="code" + title="subfunction pushbutton_Cancel_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_Cancel_Callback</a>, handles, ProgramOptions}, <span + class="string">'KeyPressFcn'</span>, {@<a href="#_sub1" class="code" + title="subfunction pushbutton_KeyPressFcn(hObject, eventdata, handles, ProgramOptions)">pushbutton_KeyPressFcn</a>, handles, ProgramOptions}); +0299 set(handles.java_Password, <span class="string">'ActionPerformedCallback'</span>, {@<a + href="#_sub2" class="code" + title="subfunction pushbutton_OK_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_OK_Callback</a>, handles, ProgramOptions}); 0300 0301 <span class="keyword">if</span> ProgramOptions.ValidatePassword 0302 <span class="keyword">if</span> ProgramOptions.enterUserName @@ -435,14 +506,20 @@ This function is called by: 0304 <span class="keyword">else</span> 0305 ObjectNext = handles.java_Password; 0306 <span class="keyword">end</span>; -0307 set(handles.java_PasswordValidate, <span class="string">'ActionPerformedCallback'</span>, {@<a href="#_sub2" class="code" title="subfunction pushbutton_OK_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_OK_Callback</a>, handles, ProgramOptions}, <span class="string">'NextFocusableComponent'</span>, ObjectNext); +0307 set(handles.java_PasswordValidate, <span class="string">'ActionPerformedCallback'</span>, {@<a + href="#_sub2" class="code" + title="subfunction pushbutton_OK_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_OK_Callback</a>, handles, ProgramOptions}, <span + class="string">'NextFocusableComponent'</span>, ObjectNext); 0308 set(handles.java_Password, <span class="string">'NextFocusableComponent'</span>, handles.java_PasswordValidate); 0309 <span class="keyword">elseif</span> ProgramOptions.enterUserName 0310 set(handles.java_Password, <span class="string">'NextFocusableComponent'</span>, handles.java_UserName); 0311 <span class="keyword">end</span>; 0312 0313 <span class="keyword">if</span> ProgramOptions.enterUserName -0314 set(handles.java_UserName, <span class="string">'ActionPerformedCallback'</span>, {@<a href="#_sub2" class="code" title="subfunction pushbutton_OK_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_OK_Callback</a>, handles, ProgramOptions}, <span class="string">'NextFocusableComponent'</span>, handles.java_Password); +0314 set(handles.java_UserName, <span class="string">'ActionPerformedCallback'</span>, {@<a + href="#_sub2" class="code" + title="subfunction pushbutton_OK_Callback(hObject, eventdata, handles, ProgramOptions)">pushbutton_OK_Callback</a>, handles, ProgramOptions}, <span + class="string">'NextFocusableComponent'</span>, handles.java_Password); 0315 <span class="keyword">end</span>; 0316 0317 setappdata(handles.figure1, <span class="string">'isCanceled'</span>, false); @@ -502,14 +579,16 @@ This function is called by: 0371 <span class="comment">%Password = handles.edit_Password.Password';</span> 0372 Password = handles.java_Password.Password'; 0373 <span class="keyword">if</span> length(Password) < ProgramOptions.PasswordLengthMin || length(Password) > ProgramOptions.PasswordLengthMax -0374 strMessage = sprintf(<span class="string">'Password must be between %d and %d characters'</span>, <span class="keyword">...</span> +0374 strMessage = sprintf(<span class="string">'Password must be between %d and %d characters'</span>, <span + class="keyword">...</span> 0375 ProgramOptions.PasswordLengthMin, <span class="keyword">...</span> 0376 ProgramOptions.PasswordLengthMax); 0377 <span class="comment">%disp(strMessage);</span> 0378 hError = errordlg(strMessage, <span class="string">'passwordEntryDialog'</span>); 0379 uiwait(hError); 0380 <span class="keyword">if</span> ProgramOptions.ValidatePassword -0381 set(handles.java_PasswordValidate,<span class="string">'Text'</span>, <span class="string">''</span>); +0381 set(handles.java_PasswordValidate,<span class="string">'Text'</span>, <span + class="string">''</span>); 0382 <span class="keyword">end</span>; 0383 handles.java_Password.requestFocus 0384 <span class="keyword">return</span>; @@ -521,10 +600,13 @@ This function is called by: 0390 <span class="keyword">if</span> ~isequal(handles.java_Password.Password, handles.java_PasswordValidate.Password) 0391 strMessage = <span class="string">'Passwords do not match. Please try again'</span>; 0392 <span class="comment">%disp(strMessage);</span> -0393 hError=errordlg(strMessage, <span class="string">'passwordEntryDialog'</span>,<span class="string">'modal'</span>); +0393 hError=errordlg(strMessage, <span class="string">'passwordEntryDialog'</span>,<span + class="string">'modal'</span>); 0394 uiwait(hError); -0395 set(handles.java_Password,<span class="string">'Text'</span>, <span class="string">''</span>); -0396 set(handles.java_PasswordValidate,<span class="string">'Text'</span>, <span class="string">''</span>); +0395 set(handles.java_Password,<span class="string">'Text'</span>, <span + class="string">''</span>); +0396 set(handles.java_PasswordValidate,<span class="string">'Text'</span>, <span + class="string">''</span>); 0397 0398 handles.java_Password.requestFocus 0399 <span class="keyword">return</span>; @@ -534,7 +616,12 @@ This function is called by: 0403 0404 <a name="_sub3" href="#_subfunctions" class="code">function pushbutton_Cancel_Callback(hObject, eventdata, handles, ProgramOptions)</a> 0405 setappdata(handles.figure1, <span class="string">'isCanceled'</span>, true); -0406 uiresume(handles.figure1);</pre></div> -<hr><address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> +0406 uiresume(handles.figure1);</pre> +</div> +<hr> +<address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a + href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> + © 2005 +</address> </body> </html> \ No newline at end of file diff --git a/matlab-openbis/html/matlab-openbis/user_url_pw_input_dialog.html b/api-openbis-matlab/html/matlab-openbis/user_url_pw_input_dialog.html similarity index 68% rename from matlab-openbis/html/matlab-openbis/user_url_pw_input_dialog.html rename to api-openbis-matlab/html/matlab-openbis/user_url_pw_input_dialog.html index d3d6394529a12f4f24dbe07c78376fc220d15b06..a1a8477b1ec9eeb0b9f2c9824622bc63215c4398 100644 --- a/matlab-openbis/html/matlab-openbis/user_url_pw_input_dialog.html +++ b/api-openbis-matlab/html/matlab-openbis/user_url_pw_input_dialog.html @@ -1,18 +1,20 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> + "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> - <title>Description of user_url_pw_input_dialog</title> - <meta name="keywords" content="user_url_pw_input_dialog"> - <meta name="description" content="user_url_pw_input"> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> - <meta name="robots" content="index, follow"> - <link type="text/css" rel="stylesheet" href="../m2html.css"> + <title>Description of user_url_pw_input_dialog</title> + <meta name="keywords" content="user_url_pw_input_dialog"> + <meta name="description" content="user_url_pw_input"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> </head> <body> <a name="_top"></a> -<div><a href="../index.html">Home</a> > <a href="index.html">matlab-openbis</a> > user_url_pw_input_dialog.m</div> +<div><a href="../index.html">Home</a> > <a href="index.html">api-openbis-matlab</a> > + user_url_pw_input_dialog.m +</div> <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> <td align="right"><a href="index.html">Index for matlab-openbis <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> @@ -23,15 +25,19 @@ <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> <div class="box"><strong>user_url_pw_input</strong></div> -<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="box"><strong>function [url, user, pass] = user_url_pw_input_dialog </strong></div> -<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre class="comment">user_url_pw_input - Return the URL, user name and password for the openBIS server</pre></div> + Return the URL, user name and password for the openBIS server</pre> +</div> <!-- crossreference --> -<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> This function calls: <ul style="list-style-image:url(../matlabicon.gif)"> </ul> @@ -40,11 +46,16 @@ This function is called by: </ul> <!-- crossreference --> -<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="#_sub1" class="code">function my_closereq(fig,selection)</a></li><li><a href="#_sub2" class="code">function textChanging(txt, event)</a></li><li><a href="#_sub3" class="code">function buttonPushed(btn, fig)</a></li></ul> + <li><a href="#_sub1" class="code">function my_closereq(fig,selection)</a></li> + <li><a href="#_sub2" class="code">function textChanging(txt, event)</a></li> + <li><a href="#_sub3" class="code">function buttonPushed(btn, fig)</a></li> +</ul> -<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [url, user, pass] = user_url_pw_input_dialog</a> 0002 <span class="comment">%user_url_pw_input</span> 0003 <span class="comment">% Return the URL, user name and password for the openBIS server</span> @@ -55,11 +66,14 @@ This function is called by: 0008 0009 0010 ScreenSize = get(0,<span class="string">'ScreenSize'</span>); -0011 fig = uifigure(<span class="string">'Name'</span>, <span class="string">'Enter openBIS credentials'</span>, <span class="string">'Position'</span>,[(ScreenSize(3:4)-[300 75])/2 400 150]); -0012 fig.CloseRequestFcn = @(fig,event)<a href="#_sub1" class="code" title="subfunction my_closereq(fig,selection)">my_closereq</a>(fig); +0011 fig = uifigure(<span class="string">'Name'</span>, <span class="string">'Enter openBIS credentials'</span>, <span + class="string">'Position'</span>,[(ScreenSize(3:4)-[300 75])/2 400 150]); +0012 fig.CloseRequestFcn = @(fig,event)<a href="#_sub1" class="code" + title="subfunction my_closereq(fig,selection)">my_closereq</a>(fig); 0013 0014 <span class="comment">% URL label and text field</span> -0015 lbl_url = uilabel(fig, <span class="string">'Text'</span>, <span class="string">'URL:'</span>, <span class="keyword">...</span> +0015 lbl_url = uilabel(fig, <span class="string">'Text'</span>, <span class="string">'URL:'</span>, <span + class="keyword">...</span> 0016 <span class="string">'Position'</span>,[10 120 80 20]); 0017 0018 txt_url = uieditfield(fig,<span class="keyword">...</span> @@ -68,7 +82,8 @@ This function is called by: 0021 <span class="string">'Tag'</span>, <span class="string">'url_textfield'</span>); 0022 0023 <span class="comment">% User label and text field</span> -0024 lbl_user = uilabel(fig, <span class="string">'Text'</span>, <span class="string">'User:'</span>, <span class="keyword">...</span> +0024 lbl_user = uilabel(fig, <span class="string">'Text'</span>, <span class="string">'User:'</span>, <span + class="keyword">...</span> 0025 <span class="string">'Position'</span>,[10 90 80 20]); 0026 0027 txt_user = uieditfield(fig,<span class="keyword">...</span> @@ -77,21 +92,29 @@ This function is called by: 0030 <span class="string">'Tag'</span>, <span class="string">'user_textfield'</span>); 0031 0032 <span class="comment">% Password label and text field</span> -0033 lbl_pass = uilabel(fig, <span class="string">'Text'</span>, <span class="string">'Password:'</span>, <span class="keyword">...</span> +0033 lbl_pass = uilabel(fig, <span class="string">'Text'</span>, <span + class="string">'Password:'</span>, <span class="keyword">...</span> 0034 <span class="string">'Position'</span>,[10 60 80 20]); 0035 0036 txt_pass = uieditfield(fig,<span class="keyword">...</span> 0037 <span class="string">'Position'</span>,[70 60 280 20], <span class="keyword">...</span> -0038 <span class="string">'Tag'</span>, <span class="string">'pass_textfield'</span>, <span class="keyword">...</span> -0039 <span class="string">'ValueChangingFcn'</span>, @<a href="#_sub2" class="code" title="subfunction textChanging(txt, event)">textChanging</a>, <span class="keyword">...</span> +0038 <span class="string">'Tag'</span>, <span class="string">'pass_textfield'</span>, <span + class="keyword">...</span> +0039 <span class="string">'ValueChangingFcn'</span>, @<a href="#_sub2" class="code" + title="subfunction textChanging(txt, event)">textChanging</a>, <span + class="keyword">...</span> 0040 <span class="string">'UserData'</span>, <span class="string">''</span>); 0041 0042 <span class="comment">% Push button to accept entries</span> 0043 btn = uibutton(fig,<span class="string">'push'</span>, <span class="keyword">...</span> 0044 <span class="string">'Position'</span>,[150 10 100 40], <span class="keyword">...</span> -0045 <span class="string">'Text'</span>, <span class="string">'Connect'</span>, <span class="keyword">...</span> -0046 <span class="string">'FontWeight'</span>, <span class="string">'bold'</span>, <span class="keyword">...</span> -0047 <span class="string">'ButtonPushedFcn'</span>, @(btn,event) <a href="#_sub3" class="code" title="subfunction buttonPushed(btn, fig)">buttonPushed</a>(btn, fig)); +0045 <span class="string">'Text'</span>, <span class="string">'Connect'</span>, <span + class="keyword">...</span> +0046 <span class="string">'FontWeight'</span>, <span + class="string">'bold'</span>, <span class="keyword">...</span> +0047 <span class="string">'ButtonPushedFcn'</span>, @(btn,event) <a href="#_sub3" + class="code" + title="subfunction buttonPushed(btn, fig)">buttonPushed</a>(btn, fig)); 0048 0049 uiwait(fig) 0050 @@ -137,7 +160,12 @@ This function is called by: 0090 close(fig) 0091 <span class="keyword">end</span> 0092 -0093</pre></div> -<hr><address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> +0093</pre> +</div> +<hr> +<address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a + href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> + © 2005 +</address> </body> </html> \ No newline at end of file diff --git a/matlab-openbis/html/matlab-openbis/user_url_pw_inputdlg.html b/api-openbis-matlab/html/matlab-openbis/user_url_pw_inputdlg.html similarity index 58% rename from matlab-openbis/html/matlab-openbis/user_url_pw_inputdlg.html rename to api-openbis-matlab/html/matlab-openbis/user_url_pw_inputdlg.html index f9787707be692232724d55e824de691c2e04f38e..a93b68010c28fa9c729bcc3adef388d37968b0ec 100644 --- a/matlab-openbis/html/matlab-openbis/user_url_pw_inputdlg.html +++ b/api-openbis-matlab/html/matlab-openbis/user_url_pw_inputdlg.html @@ -1,18 +1,20 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> + "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> - <title>Description of user_url_pw_inputdlg</title> - <meta name="keywords" content="user_url_pw_inputdlg"> - <meta name="description" content="user_url_pw_inputdlg"> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> - <meta name="robots" content="index, follow"> - <link type="text/css" rel="stylesheet" href="../m2html.css"> + <title>Description of user_url_pw_inputdlg</title> + <meta name="keywords" content="user_url_pw_inputdlg"> + <meta name="description" content="user_url_pw_inputdlg"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> </head> <body> <a name="_top"></a> -<div><a href="../index.html">Home</a> > <a href="index.html">matlab-openbis</a> > user_url_pw_inputdlg.m</div> +<div><a href="../index.html">Home</a> > <a href="index.html">api-openbis-matlab</a> > + user_url_pw_inputdlg.m +</div> <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> <td align="right"><a href="index.html">Index for matlab-openbis <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> @@ -23,33 +25,43 @@ <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> <div class="box"><strong>user_url_pw_inputdlg</strong></div> -<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="box"><strong>function [url, user, pw] = user_url_pw_inputdlg </strong></div> -<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre class="comment">user_url_pw_inputdlg - Return the URL, user name and password for the openBIS server</pre></div> + Return the URL, user name and password for the openBIS server</pre> +</div> <!-- crossreference --> -<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" + src="../up.png"></a></h2> This function calls: <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="passcode.html" class="code" title="function pass = passcode">passcode</a> PASSCODE password input dialog box.</li></ul> + <li><a href="passcode.html" class="code" title="function pass = passcode">passcode</a> PASSCODE + password input dialog box. + </li> +</ul> This function is called by: <ul style="list-style-image:url(../matlabicon.gif)"> -<li><a href="OpenBis.html" class="code" title="">OpenBis</a> </li></ul> + <li><a href="OpenBis.html" class="code" title="">OpenBis</a></li> +</ul> <!-- crossreference --> - -<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a> +</h2> <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [url, user, pw] = user_url_pw_inputdlg</a> 0002 <span class="comment">%user_url_pw_inputdlg</span> 0003 <span class="comment">% Return the URL, user name and password for the openBIS server</span> 0004 -0005 prompt = {<span class="string">'openBIS URL:'</span>, <span class="string">'openBIS user:'</span>}; +0005 prompt = {<span class="string">'openBIS URL:'</span>, <span + class="string">'openBIS user:'</span>}; 0006 title = <span class="string">'openBIS connection details'</span>; -0007 definput = {<span class="string">'https://XYZ.ethz.ch/openbis:8443'</span>, <span class="string">''</span>}; +0007 definput = {<span class="string">'https://XYZ.ethz.ch/openbis:8443'</span>, <span + class="string">''</span>}; 0008 answer = inputdlg(prompt, title, 1, definput); 0009 0010 url = answer{1}; @@ -58,7 +70,12 @@ This function is called by: 0013 <span class="comment">% pw = passwordEntryDialog('CheckPasswordLength',0);</span> 0014 pw = <a href="passcode.html" class="code" title="function pass = passcode">passcode</a>; 0015 -0016 <span class="keyword">end</span></pre></div> -<hr><address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> +0016 <span class="keyword">end</span></pre> +</div> +<hr> +<address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a + href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> + © 2005 +</address> </body> </html> \ No newline at end of file diff --git a/matlab-openbis/html/matlabicon.gif b/api-openbis-matlab/html/matlabicon.gif similarity index 100% rename from matlab-openbis/html/matlabicon.gif rename to api-openbis-matlab/html/matlabicon.gif diff --git a/matlab-openbis/html/mex.png b/api-openbis-matlab/html/mex.png similarity index 100% rename from matlab-openbis/html/mex.png rename to api-openbis-matlab/html/mex.png diff --git a/matlab-openbis/html/pcode.png b/api-openbis-matlab/html/pcode.png similarity index 100% rename from matlab-openbis/html/pcode.png rename to api-openbis-matlab/html/pcode.png diff --git a/matlab-openbis/html/right.png b/api-openbis-matlab/html/right.png similarity index 100% rename from matlab-openbis/html/right.png rename to api-openbis-matlab/html/right.png diff --git a/matlab-openbis/html/sgi.png b/api-openbis-matlab/html/sgi.png similarity index 100% rename from matlab-openbis/html/sgi.png rename to api-openbis-matlab/html/sgi.png diff --git a/matlab-openbis/html/simulinkicon.gif b/api-openbis-matlab/html/simulinkicon.gif similarity index 100% rename from matlab-openbis/html/simulinkicon.gif rename to api-openbis-matlab/html/simulinkicon.gif diff --git a/matlab-openbis/html/solaris.png b/api-openbis-matlab/html/solaris.png similarity index 100% rename from matlab-openbis/html/solaris.png rename to api-openbis-matlab/html/solaris.png diff --git a/matlab-openbis/html/up.png b/api-openbis-matlab/html/up.png similarity index 100% rename from matlab-openbis/html/up.png rename to api-openbis-matlab/html/up.png diff --git a/matlab-openbis/html/windows.png b/api-openbis-matlab/html/windows.png similarity index 100% rename from matlab-openbis/html/windows.png rename to api-openbis-matlab/html/windows.png diff --git a/matlab-openbis/obi_test.m b/api-openbis-matlab/obi_test.m similarity index 100% rename from matlab-openbis/obi_test.m rename to api-openbis-matlab/obi_test.m diff --git a/matlab-openbis/openbis_example.mlx b/api-openbis-matlab/openbis_example.mlx similarity index 100% rename from matlab-openbis/openbis_example.mlx rename to api-openbis-matlab/openbis_example.mlx diff --git a/matlab-openbis/passcode.m b/api-openbis-matlab/passcode.m similarity index 100% rename from matlab-openbis/passcode.m rename to api-openbis-matlab/passcode.m diff --git a/matlab-openbis/passwordEntryDialog.m b/api-openbis-matlab/passwordEntryDialog.m similarity index 100% rename from matlab-openbis/passwordEntryDialog.m rename to api-openbis-matlab/passwordEntryDialog.m diff --git a/matlab-openbis/pybis_example.ipynb b/api-openbis-matlab/pybis_example.ipynb similarity index 100% rename from matlab-openbis/pybis_example.ipynb rename to api-openbis-matlab/pybis_example.ipynb diff --git a/matlab-openbis/user_url_pw_input_dialog.m b/api-openbis-matlab/user_url_pw_input_dialog.m similarity index 100% rename from matlab-openbis/user_url_pw_input_dialog.m rename to api-openbis-matlab/user_url_pw_input_dialog.m diff --git a/matlab-openbis/user_url_pw_inputdlg.m b/api-openbis-matlab/user_url_pw_inputdlg.m similarity index 100% rename from matlab-openbis/user_url_pw_inputdlg.m rename to api-openbis-matlab/user_url_pw_inputdlg.m diff --git a/matlab-openbis/html/index.html b/matlab-openbis/html/index.html deleted file mode 100644 index de27ccae7d7bba699be98cbe8359bfbcd6bbb01c..0000000000000000000000000000000000000000 --- a/matlab-openbis/html/index.html +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> -<html> -<head> - <title>Matlab Index</title> - <meta name="keywords" content="matlab-openbis"> - <meta name="description" content="matlab-openbis"> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> - <meta name="robots" content="index, follow"> - <link type="text/css" rel="stylesheet" href="./m2html.css"> -</head> -<body> -<a name="_top"></a> -<h1>Matlab Index</h1> -<h2>Matlab Directories</h2> -<ul style="list-style-image:url(./matlabicon.gif)"> -<li><a href="matlab-openbis/index.html">matlab-openbis</a></li></ul> -<h2>Matlab Files found in these Directories</h2> -<table width="100%"> - <tr> - <td><a href="matlab-openbis/OpenBis.html" title="matlab-openbis">OpenBis</a></td> <td><a href="matlab-openbis/obi_test.html" title="matlab-openbis">obi_test</a></td> <td><a href="matlab-openbis/passwordEntryDialog.html" title="matlab-openbis">passwordEntryDialog</a></td> <td><a href="matlab-openbis/user_url_pw_inputdlg.html" title="matlab-openbis">user_url_pw_inputdlg</a></td> </tr> <tr> - <td><a href="matlab-openbis/df_to_table.html" title="matlab-openbis">df_to_table</a></td> <td><a href="matlab-openbis/passcode.html" title="matlab-openbis">passcode</a></td> <td><a href="matlab-openbis/user_url_pw_input_dialog.html" title="matlab-openbis">user_url_pw_input_dialog</a></td> <td><a href="" title=""></a></td> </tr></table> - - -<hr><address>Generated on Tue 06-Jul-2021 16:01:17 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> -</body> -</html> \ No newline at end of file diff --git a/matlab-openbis/html/matlab-openbis/index.html b/matlab-openbis/html/matlab-openbis/index.html deleted file mode 100644 index 229075edff8581106933167dd272035816050c5a..0000000000000000000000000000000000000000 --- a/matlab-openbis/html/matlab-openbis/index.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> -<html> -<head> - <title>Index for Directory matlab-openbis</title> - <meta name="keywords" content="matlab-openbis"> - <meta name="description" content="Index for Directory matlab-openbis"> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <meta name="generator" content="m2html v1.5 © 2003-2005 Guillaume Flandin"> - <meta name="robots" content="index, follow"> - <link type="text/css" rel="stylesheet" href="../m2html.css"> -</head> -<body> -<a name="_top"></a> -<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> -<td align="right"><a href="index.html">Index for matlab-openbis <img alt=">" border="0" src="../right.png"></a></td></tr></table> - -<h1>Index for matlab-openbis</h1> - -<h2>Matlab files in this directory:</h2> -<table> -<tr><td><img src="../matlabicon.gif" alt="" border=""> <a href="OpenBis.html">OpenBis</a></td><td> </td></tr><tr><td><img src="../matlabicon.gif" alt="" border=""> <a href="df_to_table.html">df_to_table</a></td><td>df_to_table </td></tr><tr><td><img src="../matlabicon.gif" alt="" border=""> <a href="obi_test.html">obi_test</a></td><td>obi_test Testing function for the Matlab openBIS Toolbox </td></tr><tr><td><img src="../matlabicon.gif" alt="" border=""> <a href="passcode.html">passcode</a></td><td>PASSCODE password input dialog box. </td></tr><tr><td><img src="../matlabicon.gif" alt="" border=""> <a href="passwordEntryDialog.html">passwordEntryDialog</a></td><td>PASSWORDENTRYDIALOG </td></tr><tr><td><img src="../matlabicon.gif" alt="" border=""> <a href="user_url_pw_input_dialog.html">user_url_pw_input_dialog</a></td><td>user_url_pw_input </td></tr><tr><td><img src="../matlabicon.gif" alt="" border=""> <a href="user_url_pw_inputdlg.html">user_url_pw_inputdlg</a></td><td>user_url_pw_inputdlg </td></tr></table> - - -<h2>Subsequent directories:</h2> -<ul style="list-style-image:url(../matlabicon.gif)"> -<li>.git</li><li>.ipynb_checkpoints</li><li>data</li><li>html</li></ul> - -<hr><address>Generated on Tue 06-Jul-2021 16:01:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> © 2005</address> -</body> -</html> \ No newline at end of file