|
楼主: haiyanmengxue
|
1875
3
[资料] OX统计语言 |
|
高中生 20%
-
|
回帖推荐zhaohailei 发表于3楼 查看完整内容 lists the files types which Ox can read and write.(file type default extension)
Text matrix file .mat
Text data file with load information .dat
PcGive/OxMetrics data file .in7 (with .bn7)
Excel spreadsheet file .xls
Lotus spreadsheet file .wks/.wk1
Gauss matrix file .fmt
Gauss data file .dht (with .dat)
Stata data file .dta
text file using fscan/fprint functions
binary file using fread ...
zhaohailei 发表于4楼 查看完整内容 the examples in samples\inout
To read a file directly into a matrix, use loadmat. The loadmat function uses the
extension of the file name to determine the file type. Use savemat to write a matrix
to disk, again the file type is determined by the extension.
#include
main()
{
decl mx;
mx = loadmat("data.mat");
print(mx);
}
If you specify full folder names, you must either use one fo ...
本帖被以下文库推荐
| ||
|
|
| ||
加好友,备注jltj京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


