annotate extra/NaN/inst/xptopen.m @ 12701:794b03395bbd octave-forge

add help file for xptopen
author schloegl
date Tue, 22 Dec 2015 00:48:47 +0000
parents 3fa7cfe44c4c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9948
b2a07b28b118 fix for applying generate_html to NaN-toolbox
schloegl
parents:
diff changeset
1 % XPTOPEN read of several file formats and writing of the SAS Transport Format (*.xpt)
b2a07b28b118 fix for applying generate_html to NaN-toolbox
schloegl
parents:
diff changeset
2 %
12701
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
3 % X = xptopen(filename)
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
4 % X = xptopen(filename,'r')
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
5 % read filename and return variables in struct X
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
6 % Supported are ARFF, SAS-XPT and STATA files.
9948
b2a07b28b118 fix for applying generate_html to NaN-toolbox
schloegl
parents:
diff changeset
7 %
12701
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
8 % X = xptopen(filename,'w',X)
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
9 % save fields of struct X in filename.
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
10 %
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
11 % The fields of X must be column vectors of equal length.
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
12 % Each vector is either a numeric vector or a cell array of strings.
12309
3fa7cfe44c4c xptopen: improve docu
schloegl
parents: 9948
diff changeset
13 %
12701
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
14 % The SAS-XPT format stores Date/Time as numeric value counting the number of days since 1960-01-01.
12309
3fa7cfe44c4c xptopen: improve docu
schloegl
parents: 9948
diff changeset
15
12701
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
16 % Copyright (C) 2015 by Alois Schloegl <alois.schloegl@gmail.com>
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
17 % This is part of the NaN-toolbox. For more details see
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
18 % https://pub.ist.ac.at/~schloegl/matlab/NaN/
9948
b2a07b28b118 fix for applying generate_html to NaN-toolbox
schloegl
parents:
diff changeset
19 %
12701
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
20 % This program is free software; you can redistribute it and/or modify
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
21 % it under the terms of the GNU General Public License as published by
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
22 % the Free Software Foundation; either version 3 of the License, or
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
23 % (at your option) any later version.
9948
b2a07b28b118 fix for applying generate_html to NaN-toolbox
schloegl
parents:
diff changeset
24 %
12701
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
25 % This program is distributed in the hope that it will be useful,
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
26 % but WITHOUT ANY WARRANTY; without even the implied warranty of
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
27 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
28 % GNU General Public License for more details.
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
29 %
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
30 % You should have received a copy of the GNU General Public License
794b03395bbd add help file for xptopen
schloegl
parents: 12309
diff changeset
31 % along with this program; If not, see <http://www.gnu.org/licenses/>.