- 1、本文档共17页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Matlab 读写文件Matlab 读写文件
Matlab , Fall 2004 Lesson #4
Files
Reading and writing files in MatLab and ASCII format.
Matlab format: binary format, file can contain any number of variables of various types.
ASCII format – text file (can be opened with notepad).
The only permissible format for ASCII files: file must contain the same number of elements in each row
save - saves file.
If no arguments are supplied saves file ‘matlab.mat’ with all current workspace variables in the current directory.
Filename, names of variables and options can be supplied.
save filename
stores all workspace variables in the current directory in filename.mat. To save to another directory, use the full pathname
for the filename.
save filename variable1 variable2 ...
saves listed variables with appropriate names in filefilename with extension .mat.
File name might contain folder name that indicates where to store the file.
File name can contain an extension and extension does not have to be ‘.mat’.
save can be used as a regular function that accepts input arguments. In this case filename and names or variables must be in a
strings format. Use the * wildcard to save only those variables that match the specified pattern. For example,
save(filename,A*) saves all variables that start with A.
Options parameter that controls how the information is saved can be supplied. Usage: save … option
Option Action
-append The specified existed MAT-file, appended to the end
-ascii 8-digit ASCII format
-ascii -double 16-digit ASCII format
-ascii -tabs delimits with t
您可能关注的文档
- Informative Speech 说明性演讲Informative Speech 说明性演讲.ppt
- infopath 设计表单的方法infopath 设计表单的方法.ppt
- Innisfree悦诗风吟 致润精华气垫粉凝霜评测Innisfree悦诗风吟 致润精华气垫粉凝霜评测.pdf
- InfoSys软件操作指南InfoSys软件操作指南.doc
- Internet和Intranet应用作业答案Internet和Intranet应用作业答案.doc
- internet_优缺点internet_优缺点.ppt
- intouch专家篇 08第8章 IO通讯intouch专家篇 08第8章 IO通讯.ppt
- inventor 管路设计教程inventor 管路设计教程.pdf
- IOS Socket使用大全IOS Socket使用大全.pdf
- IO设备与CPU和存储器的连接IO设备与CPU和存储器的连接.ppt
- matlab_第四讲matlab_第四讲.ppt
- MARQUIS 麦科思深井潜水泵说英语明书MARQUIS 麦科思深井潜水泵说英语明书.pdf
- matlab上机练习1matlab上机练习1.doc
- Matlab上机题库及详细答案_TonyxieMatlab上机题库及详细答案_Tonyxie.pdf
- Matlab与C混合编程汇总Matlab与C混合编程汇总.pdf
- Matlab中plot函数及legend函数详解及实例Matlab中plot函数及legend函数详解及实例.pdf
- matlab中的数据读取matlab中的数据读取.ppt
- matlab函数求极值matlab函数求极值.ppt
- Matlab入门篇——正弦信号、实指数信号和复指数信号的仿真Matlab入门篇——正弦信号、实指数信号和复指数信号的仿真.ppt
- matlab中的 微分方程matlab中的 微分方程.ppt
最近下载
- 2025年海南省普通高中学业水平合格性考试物理真题试卷含详解.pdf VIP
- 2024年陕西省西安市未央区小升初数学试卷(含答案).pdf VIP
- 统编版高中语文选择性必修中册第二单元复习知识点梳理汇编.docx VIP
- 产品可行性分析报告模板.pptx VIP
- 江苏省南京市中考语文试题+答案.pptx VIP
- 支撑梁拆除技术交底.docx VIP
- 2025年江苏省南京市中考语文试题及答案.docx VIP
- 22g101-3独立基础、条形基础、筏板基础、桩基础.pptx VIP
- GB51018-2014:水土保持工程设计规范.pdf VIP
- 环境科学与工程专业英语第四版(有道文档翻译版).docx VIP
文档评论(0)