1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
3 | <title>mixpp: UImexDS Class Reference</title> |
---|
4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
8 | <script type="text/javascript"> |
---|
9 | <!-- |
---|
10 | function changeDisplayState (e){ |
---|
11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
12 | var button=this.firstChild; |
---|
13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
15 | sectionDiv.style.display='block'; |
---|
16 | button.src='open.gif'; |
---|
17 | }else{ |
---|
18 | sectionDiv.style.display='none'; |
---|
19 | button.src='closed.gif'; |
---|
20 | } |
---|
21 | } |
---|
22 | function initDynSections(){ |
---|
23 | var divs=document.getElementsByTagName('div'); |
---|
24 | var sectionCounter=1; |
---|
25 | for(var i=0;i<divs.length-1;i++){ |
---|
26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
27 | var header=divs[i]; |
---|
28 | var section=divs[i+1]; |
---|
29 | var button=header.firstChild; |
---|
30 | if (button!='IMG'){ |
---|
31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
32 | button=document.createElement('img'); |
---|
33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
34 | } |
---|
35 | header.style.cursor='pointer'; |
---|
36 | header.onclick=changeDisplayState; |
---|
37 | header.id='dynheader'+sectionCounter; |
---|
38 | button.src='closed.gif'; |
---|
39 | section.id='dynsection'+sectionCounter; |
---|
40 | section.style.display='none'; |
---|
41 | section.style.marginLeft='14px'; |
---|
42 | sectionCounter++; |
---|
43 | } |
---|
44 | } |
---|
45 | } |
---|
46 | window.onload = initDynSections; |
---|
47 | --> |
---|
48 | </script> |
---|
49 | <div class="navigation" id="top"> |
---|
50 | <div class="tabs"> |
---|
51 | <ul> |
---|
52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
55 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
56 | <li><a href="files.html"><span>Files</span></a></li> |
---|
57 | </ul> |
---|
58 | </div> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
62 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
64 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
65 | </ul> |
---|
66 | </div> |
---|
67 | </div> |
---|
68 | <div class="contents"> |
---|
69 | <h1>UImexDS Class Reference</h1><!-- doxytag: class="UImexDS" -->Create memory data source from mxArray. |
---|
70 | <a href="#_details">More...</a> |
---|
71 | <p> |
---|
72 | <code>#include <<a class="el" href="mexds_8h-source.html">mexds.h</a>></code> |
---|
73 | <p> |
---|
74 | |
---|
75 | <p> |
---|
76 | <a href="classUImexDS-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
77 | <tr><td></td></tr> |
---|
78 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a14da7bd39463b2eaa6adf96d6330f0b"></a><!-- doxytag: member="UImexDS::build" ref="a14da7bd39463b2eaa6adf96d6330f0b" args="(Setting &S) const " --> |
---|
80 | bdmroot * </td><td class="memItemRight" valign="bottom"><b>build</b> (Setting &S) const </td></tr> |
---|
81 | |
---|
82 | </table> |
---|
83 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
84 | Create memory data source from mxArray. |
---|
85 | <p> |
---|
86 | <div class="fragment"><pre class="fragment">system={ |
---|
87 | type=<span class="stringliteral">"mexDS"</span>; |
---|
88 | varname=<span class="stringliteral">""</span>; <span class="comment">// name of workspace variable</span> |
---|
89 | rids=[1 1 1]; <span class="comment">// numbers of data rows</span> |
---|
90 | tds =[0 1 2]; <span class="comment">// time delays</span> |
---|
91 | }; |
---|
92 | </pre></div><p> |
---|
93 | MemDS with the above fields will be created;<p> |
---|
94 | <dl compact><dt><b><a class="el" href="todo.html#_todo000001">Todo:</a></b></dt><dd>Very memory inefficient implementation. The data file is copied 2 times! For better implementatin we would need MemDS with pointer to the raw data. Then it could operate directly inside mxArray.</dd></dl> |
---|
95 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
96 | <li><a class="el" href="mexds_8h-source.html">mexds.h</a></ul> |
---|
97 | </div> |
---|
98 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by |
---|
99 | <a href="http://www.doxygen.org/index.html"> |
---|
100 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
101 | </body> |
---|
102 | </html> |
---|