Commit 3c90e0b4 authored by David Boas's avatar David Boas
Browse files

initial SnirfLoad() and SnirfSave()

parent 252951c5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
% snirf = SnirfLoad( filenm )
%
% This function will load a snirf file 'filenm' into a snirf class object 

function snirf = SnirfLoad( filenm )

snirf = SnirfClass( filenm );
+12 −0
Original line number Diff line number Diff line
% SnirfSave( filenm, snirf )
%
% This function will save a snirf object to file 'filenm'.
% Recall that you create a snirf object with
%   snirf = SnirfClass();
% and then populate it with the required fields indicated by the SNIRF
% specification.

function SnirfSave( filenm, snirf )

snirf.Save( filenm )