Code covered by the BSD License  

Highlights from
Use Mac OS X XML Plists with MATLAB

Use Mac OS X XML Plists with MATLAB


John Iversen (view profile)


17 Jun 2005 (Updated )

Utilities to convert Mac OS X native storage format (XML Property Lists) for use in MATLAB.

saveXMLPlist(fname, S)
function S = saveXMLPlist(fname, S)
% saveXMLPlist  Save structure as Mac OSX XML property list
%   saveXMLPlist(filename, S)
%       Convert S into property list and save to filename
%   See structToXMLPlist.m for details.
%   JRI 3/16/05 (John R. Iversen <>)

text = structToXMLPlist(S);

fid = fopen(fname, 'w');
fprintf(fid, '%s', text);

Contact us