64 | | A range of mexfiles is predefined in directory <code>library/mex</code>. Many of these mexfile process ui files (see <a class="el" href="ui_page.html">User Infos and their use</a>) examples of these files are in directory <code>library/tutorial</code>. Note that in order to run these files you need to let matlab know where to find them: <div class="fragment"><pre class="fragment">>> addpath path_to_bdm/library/mex |
65 | | </pre></div><p> |
66 | | Then, you can go to <code>library/tutorial</code> and run e.g. <code>arx_test_mex</code>.<h2><a class="anchor" name="write"> |
| 69 | <p>A range of mexfiles is predefined in directory <code>library/mex</code>. Many of these mexfile process ui files (see <a class="el" href="ui_page.html">User Infos and their use</a>) examples of these files are in directory <code>library/tutorial</code>. Note that in order to run these files you need to let matlab know where to find them: </p> |
| 70 | <div class="fragment"><pre class="fragment">>> addpath path_to_bdm/library/mex |
| 71 | </pre></div><p>Then, you can go to <code>library/tutorial</code> and run e.g. <code>arx_test_mex</code>.</p> |
| 72 | <h2><a class="anchor" id="write"> |
73 | | The first and the third part is achieved using prepared IT++ routines, see IT++ documentation.<p> |
74 | | Script <code></code>./buildmex is prepared to compile and link the mexfile with bdm. <div class="fragment"><pre class="fragment">$ ./buildmex.sh my_mex_file.cpp |
75 | | </pre></div> on Linux, or <div class="fragment"><pre class="fragment">$ ./buildmex.bat my_mex_file.cpp |
76 | | </pre></div> on Windows.<p> |
77 | | Example of a mexfile: <div class="fragment"><pre class="fragment"></pre></div> </div> |
78 | | <hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 29 20:49:42 2009 for mixpp by |
| 80 | <p>The first and the third part is achieved using prepared IT++ routines, see IT++ documentation.</p> |
| 81 | <p>Script <code></code>./buildmex is prepared to compile and link the mexfile with bdm. </p> |
| 82 | <div class="fragment"><pre class="fragment">$ ./buildmex.sh my_mex_file.cpp |
| 83 | </pre></div><p> on Linux, or </p> |
| 84 | <div class="fragment"><pre class="fragment">$ ./buildmex.bat my_mex_file.cpp |
| 85 | </pre></div><p> on Windows.</p> |
| 86 | <p>Example of a mexfile: </p> |
| 87 | <div class="fragment"><pre class="fragment"></pre></div> </div> |
| 88 | <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:50 2009 for mixpp by |