资源简介
一种读取dat文件的matlab代码
代码片段和文件信息
function [ CellMatlabSdRawData ] = RdDat( NamOutSd )
%==========================================
fid = fopen(NamOutSd‘rb‘);
%------------------------------
Sd.Width = fread(fid 1 ‘float‘);
Sd.Height = fread(fid 1 ‘float‘);
%------------------------------
CellMatlabSdRawData = zeros(Sd.Height Sd
评论
共有 条评论