Code covered by the BSD License  

Highlights from
Use Mac OS X XML Plists with MATLAB

4.66667

4.7 | 3 ratings Rate this file 13 Downloads (last 30 days) File Size: 7.41 KB File ID: #7868

Use Mac OS X XML Plists with MATLAB

by

 

17 Jun 2005 (Updated )

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

| Watch this File

File Information
Description

These utilities enable the conversion of data written by programs on Mac OS X for use in MATLAB (and vice versa).

Anyone wanting to share data with programs written for Mac OS X can use these utilities to convert the native OS X storage format (XML Property List) to structures. XML Property Lists are the preferred textual representation of property list dictionaries.

These utilities convert from XML property list to a matlab structure and back, and include m-files for loading and saving XML property lists from matlab.

    XMLPlistToStruct
    structToXMLPlist

    loadXMLPlist
    saveXMLPlist

Info on OS X Property Lists: http://developer.apple.com/documentation/Cocoa/
Conceptual/PropertyLists/Concepts/XMLPListsConcept.html

John

Acknowledgements

This file inspired Use Mac Os X Xml Plists With Matlab (Updated Version).

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
06 Feb 2013 Simon  
10 Sep 2012 Yi Sui

Excellent.
To make it better, you can use genvarname() to make sure the field names are valid. e.g if the key name is sth like a-b, genvarname() will return a valid matlab variable name a_b.

13 Feb 2012 Brian Emery  

Contact us