Matlab中fopen,fscanf的用法总结

fopen - Open file, or obtain information about open files
    This MATLAB function opens the file, filename, for binary read access, and
    returns an integer file identifier equal to or greater than 3.
    fileID = fopen(filename)
    fileID = fopen(filename,permission)
    fileID = fopen(filename,permission,machinefmt,encodingIn)
    [fileID,errmsg] = fopen(___)
    fIDs = fopen('all')
    filename = fopen(fileID)

    [filename,permission,machinefmt,encodingOut] = fopen(fileID)

fopen打开文件,或获取有关打开文件的信息。

这个MATLAB函数打开文件,文件名,用于二进制读取访问,以及。 返回等于或大于3的整数文件标识符。
 fileID = fopen(文件名)
 fileID = fopen(文件名,许可)
 fileID = fopen(文件名,许可,machinefmt encodingIn)
 fIDs = fopen('all')
  filename = fopen(fileID)
[filename,permission,machinefmt,encodingOut] = fopen(fileID)


猜你喜欢

转载自blog.csdn.net/woshiyuzhoushizhe/article/details/80086345
今日推荐