write
将 CDFX 对象的数据导出到文件
说明
示例
将修改后的数据写入新 CDFX 文件
使用文件中的数据创建一个 asam.cdfx
对象,修改该对象中的数据,并将其写入到新文件中。
cdfxObj = cdfx('c:\DataFiles\AllCategories_VCD.cdfx'); setValue(cdfxObj,'VALUE_NUMERIC',55) write(cdfxObj,'c:\DataFiles\AllCategories_NEW_VCD.cdfx')
输入参数
cdfxObj
— CDFX 文件对象
asam.cdfx
对象
CDFX 文件对象,指定为 asam.cdfx
对象。使用该对象访问标定数据。
示例: cdfx()
CDFXfile
— 标定数据格式 (CDFX) 文件位置
字符 | 字符串
标定数据格式 (CDFX) 文件位置,指定为字符向量或字符串。CDFXFile
可以指定当前文件夹中的文件名,也可以指定 CDFX 文件的完整路径或相对路径。
示例: 'ASAMCDFExample.cdfx'
数据类型: char
| string
版本历史记录
在 R2019a 中推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)