XML Toolbox

버전 1.0.0.0 (225 KB) 작성자: Marc Molinari
Conversion of MATLAB data types to XML and vice versa.
다운로드 수: 32.4K
업데이트 날짜: 2005/4/20

라이선스 없음

The XML Toolbox converts MATLAB data structures of any level of nesting into an XML string. It also reads most types of XML strings/files and converts these into a Matlab structure.
Six simple functions are provided for this task:
xml_format()
xml_formatany()
xml_parse()
xml_parseany()
xml_load()
xml_save()
and help in xml_help.

This toolbox comes with an extensive pdf manual (35 pages).

Structures like this
>> project.name = 'MyProject';
>> project.id = 1234;
>> project.param.a = 3.1415;
>> project.param.b = 42;

can easily be converted with a command like str=xml_format(project,'off') to
result in:

<project>
..<name>MyProject</name>
..<id>1234</id>
..<param>
....<a>3.1415</a>
....<b>42</b>
..</param>
</project>

인용 양식

Marc Molinari (2024). XML Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/4278-xml-toolbox), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Structured Data and XML Documents에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Correction of function names, xml_formatatt to xml_formatany and same for parser.