主要内容

读mat文件数据的MATLAB Fortran API

读写MATLAB®数据来自Fortran程序

在编写自定义应用程序之前,通过回顾以下主题,确定MATLAB是否满足您的数据交换需求。

Fortran MAT-File API

matOpen 打开MAT-file
matClose 关闭MAT-file
MATFile 类型MAT-file
matGetVariable 从MAT-file数组
matGetVariableInfo 只有数组头信息
matGetNextVariable mat文件中的下一个数组
matGetNextVariableInfo 只有数组头信息
matPutVariable 数组来MAT-file
matPutVariableAsGlobal 数组到mat文件作为源自全局工作区
matDeleteVariable 删除数组从mat文件
matGetDir mat文件中的变量列表
mxIsFromGlobalWS 确定是否从mxArray中复制MATLAB全球的工作区

主题

用Fortran语言创建MAT-File

matdemo1。F示例创建了mat -文件,matdemo.mat

用Fortran读MAT-File

matdemo2。F示例演示了如何使用库例程来读取由matdemo1。F并描述它的内容。