1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/REC-html40/loose.dtd"> |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <title>Description of ListDir</title> |
---|
6 | <meta name="keywords" content="ListDir"> |
---|
7 | <meta name="description" content="'ListDir': scan the structure of the directory tree (for dataview.m)"> |
---|
8 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
9 | <meta name="generator" content="m2html © 2003 Guillaume Flandin"> |
---|
10 | <meta name="robots" content="index, follow"> |
---|
11 | <link type="text/css" rel="stylesheet" href="../m2html.css"> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <a name="_top"></a> |
---|
15 | <div><a href="../index.html">Home</a> > <a href="index.html">.</a> > ListDir.m</div> |
---|
16 | |
---|
17 | <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> |
---|
18 | <td align="right"><a href="index.html">Index for . <img alt=">" border="0" src="../right.png"></a></td></tr></table>--> |
---|
19 | |
---|
20 | <h1>ListDir |
---|
21 | </h1> |
---|
22 | |
---|
23 | <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
24 | <div class="box"><strong>'ListDir': scan the structure of the directory tree (for dataview.m)</strong></div> |
---|
25 | |
---|
26 | <h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
27 | <div class="box"><strong>function [ListDevices,ListRecords,ListXml,List]=ListDir(CurrentPath,ListExperiments,ListDevices_in,ListRecords_in) </strong></div> |
---|
28 | |
---|
29 | <h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
30 | <div class="fragment"><pre class="comment">'ListDir': scan the structure of the directory tree (for dataview.m) |
---|
31 | ------------------------------------------------------------------------ |
---|
32 | function [ListDevices,ListRecords,ListXml,List]=ListDir(CurrentPath,ListExperiments,ListDevices_in,ListRecords_in) |
---|
33 | |
---|
34 | |
---|
35 | OUTPUT: |
---|
36 | ListDevices: list of Devices |
---|
37 | ListRecords: list of records |
---|
38 | ListXml: list of xml file names |
---|
39 | List: structure representing the tree structure |
---|
40 | |
---|
41 | INPUT |
---|
42 | CurrentPath: full name (including path) to the input campaign (or subcampaign), we assume that |
---|
43 | data are organised as (sub)campaign/Experiment/Device/(Record/)/file .xml |
---|
44 | ListExperiments: list of experiments to scan (cell of names) |
---|
45 | ListDevices_in: list of devices to scan (cell of names) |
---|
46 | ListRecords_in: list of records to scan (cell of names)</pre></div> |
---|
47 | |
---|
48 | <!-- crossreference --> |
---|
49 | <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> |
---|
50 | This function calls: |
---|
51 | <ul style="list-style-image:url(../matlabicon.gif)"> |
---|
52 | </ul> |
---|
53 | This function is called by: |
---|
54 | <ul style="list-style-image:url(../matlabicon.gif)"> |
---|
55 | <li><a href="dataview.html" class="code" title="function varargout = dataview(varargin)">dataview</a> 'dataview': function for scanning directories in a campaign</li><li><a href="editxml.html" class="code" title="function varargout = editxml(varargin)">editxml</a> 'editxml': function for editing xml files using a xml schema (associated with the GUI editxml.fig)</li></ul> |
---|
56 | <!-- crossreference --> |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | <hr><address>Generated on Wed 10-Mar-2010 20:42:36 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> © 2003</address> |
---|
61 | </body> |
---|
62 | </html> |
---|