Skip to content

Commit d1d9d81

Browse files
v1.10.0 help files
1 parent 7ce0bcb commit d1d9d81

139 files changed

Lines changed: 4638 additions & 229 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

help/en_US/1_accessing_manipulating_table.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ <h3>Description</h3>
7373
<p>You can concatenate tables vertically (one below the other) using the vertcat function. This function combines tables by appending the rows of one table to the rows of another table.</p>
7474
<p>see examples: <b>Vertical Concatenation</b></p>
7575
<p/>
76+
<p>
77+
<b>Convert variable types</b>
78+
</p>
79+
<p>You can convert table variables by using the <b>VariableTypes</b> property.</p>
80+
<p>see examples: <b>VariableTypes</b> example</p>
81+
<p/>
7682
<p>
7783
<b>Summary</b>
7884
</p>
@@ -158,6 +164,22 @@ <h3>Examples</h3>
158164
T_vert = [T1; T3] % or T_vert = vertcat(T1, T3)
159165
</code>
160166
</pre>
167+
<p>Convert variable types</p>
168+
<pre>
169+
<code class = "nelson">Names = {'John'; 'Alice'; 'Bob'; 'Diana'};
170+
Age = [28; 34; 22; 30];
171+
Height = [175; 160; 180; 165];
172+
Weight = [70; 55; 80; 60];
173+
T = table(Names, Age, Height, Weight);
174+
T.Properties.VariableTypes
175+
T{:,1}
176+
T{:,2}
177+
T.Properties.VariableTypes = ["string" "int8" "double" "double"];
178+
T{:,1}
179+
T{:,2}
180+
T.Properties.VariableTypes
181+
</code>
182+
</pre>
161183

162184
<h3>See also</h3>
163185
<hr/>
@@ -178,6 +200,11 @@ <h3>History</h3>
178200
<td>initial version</td>
179201
</tr>
180202

203+
<tr>
204+
<td>1.10.0</td>
205+
<td>VariableTypes property</td>
206+
</tr>
207+
181208
</table>
182209

183210
<h3>Author</h3>

help/en_US/2_direct_compution_with_table.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</td>
3434

3535
<td width = "30%" class = "next">
36-
<span class = "next"><a href = "array2table.html">array2table &gt;&gt;</a></span>
36+
<span class = "next"><a href = "3_read_write_table.html">Read/Write table to files &gt;&gt;</a></span>
3737
</td>
3838

3939
</tr></table>
@@ -59,7 +59,7 @@ <h3>Description</h3>
5959
<h3>Example</h3>
6060
<hr/>
6161

62-
<p>Adding a New Column</p>
62+
<p>Direct computation on Tables</p>
6363
<pre>
6464
<code class = "nelson">% Create a sample table with sensor data
6565
T = table([1.5; -2.3; 4.7], [0.5; 1.1; -0.7], [-1; 2; 3], ...
@@ -114,7 +114,7 @@ <h3>Author</h3>
114114
</td>
115115

116116
<td width = "30%" class = "next">
117-
<span class = "next"><a href = "array2table.html">array2table &gt;&gt;</a></span>
117+
<span class = "next"><a href = "3_read_write_table.html">Read/Write table to files &gt;&gt;</a></span>
118118
</td>
119119

120120
</tr></table>

help/en_US/3_read_write_table.html

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3+
4+
<html xmlns = "http://www.w3.org/1999/xhtml">
5+
<!--
6+
SAME AS NELSON SOFTWARE
7+
-->
8+
9+
<head>
10+
<meta name="generator" content=
11+
"HTML Generated by Nelson"/>
12+
<link rel="stylesheet" type="text/css" href="style.css" />
13+
<link rel="stylesheet" href="mono-blue.css" type="text/css" />
14+
<script src = "highlight.pack.js" type = "text/javascript">
15+
</script>
16+
<script type = "text/javascript">hljs.highlightAll();</script>
17+
</script>
18+
<meta http-equiv="Content-Type" content = "text/html; charset=utf-8" />
19+
<title>Read/Write table to files</title>
20+
21+
</head>
22+
<body>
23+
24+
<div class = "manualnavbar">
25+
<table width = "100%"><tr>
26+
27+
<td width="30%" class="previous">
28+
<span class="top"><a href="2_direct_compution_with_table.html">&lt;&lt; Direct computation with Table</a></span>
29+
</td>
30+
31+
<td width="40%" class="center">
32+
<span class="top"><a href="chapter_table.html">Tables</a></span>
33+
</td>
34+
35+
<td width = "30%" class = "next">
36+
<span class = "next"><a href = "array2table.html">array2table &gt;&gt;</a></span>
37+
</td>
38+
39+
</tr></table>
40+
<hr />
41+
42+
<h1 class="refname">Read/Write table to files</h1>
43+
<hr/>
44+
45+
<h3>Description</h3>
46+
<hr/>
47+
48+
<p></p>
49+
50+
<p>Nelson provides extensive capabilities for reading and writing tables to files, supporting both text-based and binary storage formats to meet different data management needs.</p>
51+
<p>Text files (.csv, .txt, etc.):</p>
52+
<ul>
53+
<li>writetable() exports tables to delimited text files with customizable separators</li>
54+
<li>readtable() imports tables from delimited text files with automatic format detection</li>
55+
<li>Text files preserve variable names and data in human-readable format</li>
56+
</ul>
57+
<p>Binary file:</p>
58+
<ul>
59+
<li>Nelson HDF5 format (.nh5):
60+
<ul><li>Efficient binary storage using HDF5 format</li><li>Preserves all table metadata and data types</li><li>Use save -nh5 and load commands</li></ul>
61+
</li>
62+
</ul>
63+
<p>Binary format is recommended for preserving exact numeric precision and working with large datasets.</p>
64+
65+
66+
<h3>Examples</h3>
67+
<hr/>
68+
69+
<p>Read/Write table to .nh5 file</p>
70+
<pre>
71+
<code class = "nelson">% Create a sample table with sensor data
72+
T = table([1.5; -2.3; 4.7], [0.5; 1.1; -0.7], [-1; 2; 3], 'VariableNames', {'Voltage', 'Current', 'Resistance'});
73+
R = T;
74+
filename = [tempdir(), 'table_example.nh5'];
75+
save(filename, '-nh5', 'T');
76+
clear T
77+
load(filename, 'T');
78+
assert(isequal(T, R));
79+
T
80+
</code>
81+
</pre>
82+
<p>Read/Write table to text file</p>
83+
<pre>
84+
<code class = "nelson">% Create a sample table with sensor data
85+
T = table([1.5; -2.3; 4.7], [0.5; 1.1; -0.7], [-1; 2; 3], 'VariableNames', {'Voltage', 'Current', 'Resistance'});
86+
filename = [tempdir(), 'table_example.csv'];
87+
writetable(T, filename);
88+
T2 = readtable(filename);
89+
</code>
90+
</pre>
91+
92+
<h3>See also</h3>
93+
<hr/>
94+
95+
<p>
96+
<a href = "writetable.html" class = "link">writetable</a>, <a href = "readtable.html" class = "link">readtable</a>, <a href = "load.html" class = "link">load</a>, <a href = "save.html" class = "link">save</a>.</p>
97+
98+
<h3>History</h3>
99+
<hr/>
100+
101+
<table summary = "history" style="width:50%">
102+
<tr>
103+
<th>Version</th>
104+
<th>Description</th>
105+
</tr>
106+
<tr>
107+
<td>1.10.0</td>
108+
<td>initial version</td>
109+
</tr>
110+
111+
</table>
112+
113+
<h3>Author</h3>
114+
<hr/>
115+
116+
<p>Allan CORNET</p>
117+
118+
<div class = "manualnavbar">
119+
<table width = "100%"><tr>
120+
121+
<td width="30%" class="previous">
122+
<span class="top"><a href="2_direct_compution_with_table.html">&lt;&lt; Direct computation with Table</a></span>
123+
</td>
124+
125+
<td width="40%" class="center">
126+
<span class="top"><a href="chapter_table.html">Tables</a></span>
127+
</td>
128+
129+
<td width = "30%" class = "next">
130+
<span class = "next"><a href = "array2table.html">array2table &gt;&gt;</a></span>
131+
</td>
132+
133+
</tr></table>
134+
<hr />
135+
136+
</body>
137+
138+
</html>
139+

help/en_US/COM_xlswrite.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</td>
3434

3535
<td width = "30%" class = "next">
36-
<span class = "next"><a href = "actxGetRunningSrv.html">actxGetRunningSrv &gt;&gt;</a></span>
36+
<span class = "next"><a href = "actxGetRunningServer.html">actxGetRunningServer &gt;&gt;</a></span>
3737
</td>
3838

3939
</tr></table>
@@ -201,7 +201,7 @@ <h3>Author</h3>
201201
</td>
202202

203203
<td width = "30%" class = "next">
204-
<span class = "next"><a href = "actxGetRunningSrv.html">actxGetRunningSrv &gt;&gt;</a></span>
204+
<span class = "next"><a href = "actxGetRunningServer.html">actxGetRunningServer &gt;&gt;</a></span>
205205
</td>
206206

207207
</tr></table>
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3+
4+
<html xmlns = "http://www.w3.org/1999/xhtml">
5+
<!--
6+
SAME AS NELSON SOFTWARE
7+
-->
8+
9+
<head>
10+
<meta name="generator" content=
11+
"HTML Generated by Nelson"/>
12+
<link rel="stylesheet" type="text/css" href="style.css" />
13+
<link rel="stylesheet" href="mono-blue.css" type="text/css" />
14+
<script src = "highlight.pack.js" type = "text/javascript">
15+
</script>
16+
<script type = "text/javascript">hljs.highlightAll();</script>
17+
</script>
18+
<meta http-equiv="Content-Type" content = "text/html; charset=utf-8" />
19+
<title>actxGetRunningServer</title>
20+
21+
</head>
22+
<body>
23+
24+
<div class = "manualnavbar">
25+
<table width = "100%"><tr>
26+
27+
<td width="30%" class="previous">
28+
<span class="top"><a href="COM_xlswrite.html">&lt;&lt; COM_xlswrite</a></span>
29+
</td>
30+
31+
<td width="40%" class="center">
32+
<span class="top"><a href="chapter_com_engine.html">COM engine</a></span>
33+
</td>
34+
35+
<td width = "30%" class = "next">
36+
<span class = "next"><a href = "actxcontrollist.html">actxcontrollist &gt;&gt;</a></span>
37+
</td>
38+
39+
</tr></table>
40+
<hr />
41+
42+
<h1 class="refname">actxGetRunningServer</h1>
43+
<hr/>
44+
45+
<h3>Handle to running instance of Automation server.</h3>
46+
<hr/>
47+
48+
<h3>Syntax</h3>
49+
<hr/>
50+
51+
<table summary="syntax" style="width:50%">
52+
<tr>
53+
<td>h = actxGetRunningServer(progid)</td>
54+
</tr>
55+
56+
</table>
57+
58+
<h3>Input argument</h3>
59+
<hr/>
60+
61+
<dl>
62+
<dt><span class="term">progid</span></dt>
63+
<dd>
64+
<p class="para">a string: the name of a COM server.</p>
65+
</dd>
66+
67+
</dl>
68+
69+
<h3>Output argument</h3>
70+
<hr/>
71+
72+
<dl>
73+
<dt><span class="term">h</span></dt>
74+
<dd>
75+
<p class="para">a COM object.</p>
76+
</dd>
77+
78+
</dl>
79+
80+
<h3>Description</h3>
81+
<hr/>
82+
83+
<p></p>
84+
85+
<p><b>h = actxGetRunningServer(progid)</b> gets a reference to a running instance of the OLE/COM Automation server.</p>
86+
<p><b>progid</b> is the programmatic identifier of the Automation server object and <b>h</b> is the handle to the default interface of the server object.</p>
87+
<p>The function returns an error if the server specified by progid is not currently running or if the server object is not registered.</p>
88+
<p>When multiple instances of the Automation server are running, the operating system controls the behavior of this function.</p>
89+
90+
91+
<h3>Example</h3>
92+
<hr/>
93+
94+
<pre>
95+
<code class = "nelson">h = actxGetRunningServer('Excel.application')
96+
</code>
97+
</pre>
98+
99+
<h3>See also</h3>
100+
<hr/>
101+
102+
<p>
103+
<a href = "actxserver.html" class = "link">actxserver</a>.</p>
104+
105+
<h3>History</h3>
106+
<hr/>
107+
108+
<table summary = "history" style="width:50%">
109+
<tr>
110+
<th>Version</th>
111+
<th>Description</th>
112+
</tr>
113+
<tr>
114+
<td>1.0.0</td>
115+
<td>initial version</td>
116+
</tr>
117+
118+
</table>
119+
120+
<h3>Author</h3>
121+
<hr/>
122+
123+
<p>Allan CORNET</p>
124+
125+
<div class = "manualnavbar">
126+
<table width = "100%"><tr>
127+
128+
<td width="30%" class="previous">
129+
<span class="top"><a href="COM_xlswrite.html">&lt;&lt; COM_xlswrite</a></span>
130+
</td>
131+
132+
<td width="40%" class="center">
133+
<span class="top"><a href="chapter_com_engine.html">COM engine</a></span>
134+
</td>
135+
136+
<td width = "30%" class = "next">
137+
<span class = "next"><a href = "actxcontrollist.html">actxcontrollist &gt;&gt;</a></span>
138+
</td>
139+
140+
</tr></table>
141+
<hr />
142+
143+
</body>
144+
145+
</html>
146+

help/en_US/actxcontrollist.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<table width = "100%"><tr>
2626

2727
<td width="30%" class="previous">
28-
<span class="top"><a href="actxGetRunningSrv.html">&lt;&lt; actxGetRunningSrv</a></span>
28+
<span class="top"><a href="actxGetRunningServer.html">&lt;&lt; actxGetRunningServer</a></span>
2929
</td>
3030

3131
<td width="40%" class="center">
@@ -112,7 +112,7 @@ <h3>Author</h3>
112112
<table width = "100%"><tr>
113113

114114
<td width="30%" class="previous">
115-
<span class="top"><a href="actxGetRunningSrv.html">&lt;&lt; actxGetRunningSrv</a></span>
115+
<span class="top"><a href="actxGetRunningServer.html">&lt;&lt; actxGetRunningServer</a></span>
116116
</td>
117117

118118
<td width="40%" class="center">

0 commit comments

Comments
 (0)