Code covered by the BSD License  

Highlights from
UFF File Reading and Writing

image thumbnail
from UFF File Reading and Writing by Primoz Cermelj
Reading and writing of ascii files in Universal File Format (UFF).

test_uff.m
%  Test for reading and writing of UFF files.
clear;

% First, let's read all the data-sets from the dam0.unv file
[DS, Info, errmsg] = readuff('dam0.unv');

% Let's check what is the first data-set like
DS{1}

% Now, let's write the whole thing back into the dam0_out.unv
writeuff('dam0_out.unv', DS, 'replace');

Contact us