📄 180.txt
字号:
发信人: GzLi (笑梨), 信区: DataMining
标 题: Re: help-matlab之import data!
发信站: 南京大学小百合站 (Thu Dec 5 18:53:52 2002), 站内信件
1.fwrite 控制参数
2. 在workspace中显示,然后copy - paste
都是极笨的办法,我没有找到其它方法。
【 在 mistle (槲寄生◎檞寄生) 的大作中提到: 】
: load函数应该与save函数相对吧,前两天用save想将一整型数组保存
: 在文档中,但是无论怎样选择参数,保存的始终是浮点数,哪位能指
: 点一下怎样用save保存整型数组(abc.txt打开后是整数而不是浮点数)?
: 【 在 snoopyzhao (闲逛) 的大作中提到: 】
: : help load
: : LOAD Load workspace variables from disk.
: : LOAD FILENAME retrieves all variables from a file given a full pathname
: : or a MATLABPATH relative partial pathname (see PARTIALPATH). If FILENAME
: : has no extension LOAD looks for FILENAME and FILENAME.mat and treats it
: : as a binary "MAT-file". If FILENAME has an extension other than .mat, it
: : is treated as ASCII.
: : LOAD, by itself, uses the binary "MAT-file" named 'matlab.mat'. It is
: : an error if 'matlab.mat' is not found.
: : LOAD FILENAME X loads only X.
: : LOAD FILENAME X Y Z ... loads just the specified variables. The
: : wildcard '*' loads variables that match a pattern (MAT-file only).
: : LOAD -ASCII FILENAME or LOAD -MAT FILENAME forces LOAD to treat the file
: : as either an ASCII file or a MAT file regardless of file extension. With
: : -ASCII, LOAD will error if the file is not numeric text. With -MAT, LOAD
: : will error if the file is not a MAT file generated by SAVE -MAT.
: (以下引言省略 ... ...)
--
*** 端庄厚重 谦卑含容 事有归着 心存济物 ***
数据挖掘 http://DataMining@bbs.nju.edu.cn/
※ 来源:.南京大学小百合站 bbs.nju.edu.cn.[FROM: 211.80.38.17]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -