Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
XMLwrite

Subject: XMLwrite

From: Joe Frank

Date: 2 Apr, 2009 13:55:04

Message: 1 of 3

Hello,

I have some questions regarding XMLwrite functions.

I have a structure in my workspace and I need to parse that structure & convert it into XMLfile

I have written this function but this doesnt seem to work.

function parseStruct(Struct, xmlForm)
xml_write('xmlForm.xml', Struct);
type('xmlForm.xml')

Please help me with this.

Subject: XMLwrite

From: Joe Frank

Date: 2 Apr, 2009 14:28:02

Message: 2 of 3

"Joe Frank" <sascod@gmail.com> wrote in message <gr2g3o$bmj$1@fred.mathworks.com>...
> Hello,
>
> I have some questions regarding XMLwrite functions.
>
> I have a structure in my workspace and I need to parse that structure & convert it into XMLfile
>
> I have written this function but this doesnt seem to work.
>
> function parseStruct(Struct, xmlForm)
> xml_write('xmlForm.xml', Struct);
> type('xmlForm.xml')
>
> Please help me with this.

Its quite urgent.. Can some1 help me out?

Subject: XMLwrite

From: Titus

Date: 2 Apr, 2009 15:19:56

Message: 3 of 3


"Joe Frank" <sascod@gmail.com> schrieb im Newsbeitrag
news:gr2i1h$dia$1@fred.mathworks.com...
> "Joe Frank" <sascod@gmail.com> wrote in message
> <gr2g3o$bmj$1@fred.mathworks.com>...
>> Hello,
>>
>> I have some questions regarding XMLwrite functions.
>>
>> I have a structure in my workspace and I need to parse that structure &
>> convert it into XMLfile
>>
>> I have written this function but this doesnt seem to work.
>>
>> function parseStruct(Struct, xmlForm)
>> xml_write('xmlForm.xml', Struct);
>> type('xmlForm.xml')
>>
>> Please help me with this.
>
> Its quite urgent.. Can some1 help me out?

Hi Joe,

where did you get xml_write from? Ask the author. Or do you mean xmlwrite
(the MATLAB function xmlwrite)? In this case you need to transform the
structure into a DOM node first (quite the opposite of what is done in the
doc for xmlread in Example3).

Titus

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us