Search Comments and Ratings

go

   
Date File Comment by Comment Rating
28 Nov 2014 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Ladislav Dobrovsky

try http://www.mathworks.com/matlabcentral/fileexchange/48308-tinyxml2-wrapper

03 Jul 2014 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari John

@Joerg there is no reason to exchange XML between matlab and java, hook into java directly from matlab. Far (FAR) simpler.

17 Oct 2013 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Joerg Bretschneider

I would ask Marc to provide the m-files.
Seems as if he has dumped the project.

Seems to be great work - stable through releases, well structured and with simple interfaces. We have to test if it suits our needs, as we would have to exchange the XML between Matlab and Java...
An option to work further on the code would be great, Marc!

03 Jul 2013 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Varoujan

I have now tested this submission all the way up to R2013a. It works. The warnings people are talking about are just that "warnings". It still works.

Other than cluttering up the command window or the DOS window for the stand alone executables, functionally I have no issues.

Though I would agree that someone should generate up to date .p files but then I am not sure if it would make it unusable for people with earlier versions of Matlab.

If the author doesn't mind sharing the source code, that would solve the problem too.

Of course, best possible solution is for Matlab to include this functionality with built-in functions.

01 Feb 2013 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Moses

Needs to be updated for newer versions of Matlab!

31 Jan 2013 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Michael

I like the submission a lot, nevertheless I get hte following error message:

Warning: The P-code file strsplit.p was generated prior to
MATLAB version 7.5 (R2007b) and will not be supported in a
future release. Use pcode to regenerate strsplit.p using
MATLAB R2007b or later.

Will there be an update?

01 Nov 2012 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Xilu Wang

02 Oct 2012 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Zhuo Li

This is powerful, very helpful. Thank you for the good work !!!

27 Jul 2012 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Sebastian Holmqvist

Great tool! But it's struggling for me as I go above 1 MB of XML. 1.5 MB takes about 45 seconds with xml_parse(). Duplicating the data (3 MB) takes a whopping 170 seconds. That's almost 4 times longer for only twice the data!

Any tips for me how I can get it to speed up a bit? Profiler says that 75% of the time is spent inside of xml_parse (overheads etc), so it's in there somewhere.

26 Apr 2012 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Hdaniel

20 Apr 2012 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Michael

Completely useless!!!! Do not use!!! Closed-source software.

07 Feb 2012 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Xiaolong

I am switching to xmltools (also available from MATLAB Central).

This will be the last time I make my project dependent on a closed-source freeware.

24 Jan 2012 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Joseph Areeda

I'm running R2011b and can't try this because the p code is incompatible.

Are there any other options?

22 Jul 2011 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Ad Client

buggy, no way to debug due to closed source.

23 Jun 2011 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Xiaolong

Unable to interprete special characters like > and < in the xml file.

23 Jun 2011 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Xiaolong

05 Apr 2011 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Charles Garfinkle

Unable to interpret elements with line breaks between attribute values. Also failed to correctly parse an XML tree composed of nested elements all of the same name and attributes (though the specific values of those attributes differed between elements).

14 Mar 2011 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Andreas K.

With Matlab R2007b everything works find, but with R2010b I got the following warning-message...
>Warning: The P-code file strsplit.p was generated prior to MATLAB version 7.5 (R2007b) and will not be
supported in a future release. Use pcode to regenerate strsplit.p using MATLAB R2007b or later.

I can't regenerate those files with R2010b. I don't know why...

02 Feb 2011 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Emil

02 Feb 2011 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Emil

This is a great tool.. Whats the chance in getting an updated p-code?

01 Nov 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Bhuvan

Hi guys i have doubt is it possible to import back the xml file which download earlier to simmechanics model back to cad model in xml format using this tool bar.

Exactly it is SimMechanics Model to CAD Assembly in xml format & viceversa

pl. help me in this same

28 Oct 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Navid Samavati

Totally useful! Exactly what I was looking for! Thanks!

01 Oct 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Marc Molinari

I have changed jobs and a rewrite and update of the XML toolbox will be available as soon as I find time for these... Please check back or add a watch to receive a notification.
If you require urgent specialised changes or integration, please contact me at marc_xml@scieng.co.uk.

24 Sep 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Marion Douglas

As of Matlab 2010b, xml_toolbox is useless since p-file obfuscation has changed in matlab, requiring the original source m-file to make new p-files from. Any plans to release updated p-files?

24 Aug 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Thomas Marullo

Great job! This is a wonderful set of tools.

21 Jun 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Erfan

you have forgot to ignore the white spaces in the XML file dude (in the xml_load function)
doesn't work when there are gaps in the xml file

01 Apr 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Neil

Very disappointing closed source software. I do not recommend at all.

03 Feb 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Thomas Schreiter

Regarding my last post. I found the troublemaker: saving a char with the value 0 leads to a missing closing tag:
Matlab: xml_save('foo.xml', char(0);
foo.XML: <?xml version="1.0"?>
<!-- Written on 03-Feb-2010 10:59:59 using the XML Toolbox for Matlab -->
<root xml_tb_version="3.1" idx="1" type="char" size="1 1">

As you can see, the root tag is not closed.

03 Feb 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Thomas Schreiter

Found one more annoying bug, that's why I downgraded my rating:
it produces invalid XML code in some cases (I have a structure containing some empty fields, the resulting XML file is ~500kB containing invalid XML code)

@Joao: There are M files included, but they contain only comments, no source code.

02 Feb 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari João

Great! It was useful for me many times now.
Schroen, I think you are mistaken. The source code IS included.

02 Feb 2010 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Thomas Schreiter

Nice idea. But no source code provided, which might be OK if the program weren't buggy:
In some cases, saving a matrix containing doubles and nan's leads to the error "NaN's cannot be converted to logicals."

23 Dec 2009 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Jesse Hopkins

Does not handle XML files that have the same tag name repeated, since this uses the tag name as the field name for matlab structures. This tool appears to ignore all but the last tag of repeated tag names.

I prefer the output format of "XML parsing tools" (FX id 3074), which does handle this, however that one runs painstakingly slow and does not handle comments.

06 Oct 2009 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Richard

I'm getting an error message for xml_load when running from command line:
"v = xml_load('Samoa.xml');
??? Attempt to execute SCRIPT xml_load as a function:
H:\mylib\xml\xml_toolbox\xml_load.p"

The file is in the current directory.

06 Oct 2009 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Rick Crawford

Is this supposed to work with cell arrays? I tried to use it with a cell array and it crashed.

02 Feb 2009 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Anna Kelbert

Thanks a lot! Much more efficient than the alternative xml_io_tools (although open source would of course be nice). However, it completely messes up character arrays. If you create an array with a char() function that consists of e.g. four character strings (size 4 x 400), the corresponding XML output is nonsense. On the other hand, writing separate lines as items creates a problem for other software which reads my XML files. There should be an option to concatenate array elements together in the XML file, rather than writing them out as separate 'item' elements.

21 Jan 2009 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Kyo Sohma

correction: user 3 has the same topics that 4 has.

21 Jan 2009 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari Kyo Sohma

I was trying to use xml_parseany from a big file, and it doesnt work properly. For example,

<test>
<user id='1'>
<topic id='t1'>
<weight>60</weight>
</topic>
</user>
<user id='2'/>
<user id='3'>
<topic id='t3'>
<weight>20</weight>
</topic>
<topic id='t4'>
<weight>80</weight>
</topic>
</user>
<user id='4'/>
</test>

When this is parsed, user id 2 and 4 dont have topics, but when the struct is created these users have the topics from the last user that had topics.
In this case, user 2 has the same topics that user 1 has, and user 4 has the same topics that 4 has.

06 Oct 2008 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

Good job, but the import of an xml file in MatLab may contain redundant data.

Here is an example, where the MatLab generated structure contain redundant data

<?xml version="1.0" ?>
<polygon id="polygon1" nVertices="3">
<lines>
<segment n="1" x0=" 0.0" x1="966.0" y0=" 86.0" y1="142.0" />
<segment n="2" x0="966.0" x1="1983.0" y0="142.0" y1=" 0.0" />
<segment n="3" x0="1983.0" x1="0.0" y0="0.0" y1="86.0" />
</lines>
<xMax>1983.0</xMax>
<yMax>142.0</yMax>
</polygon>

17 Sep 2008 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

good!.. it gives better results than other XML Toolboxes that I have tried for converting .gxl files (graph exchange format) into matlab structures.. Thanks

02 Aug 2008 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

superb

02 Aug 2008 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

18 May 2008 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

13 Jan 2008 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

11 Jan 2008 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

Does anyone know how the attributes doesnt read

11 Nov 2007 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

Hi, if TAG name has minus '-' then it gives the next error.
??? Error using ==> setfield
Error using ==> subsasgn
Invalid field name component.

Error in ==> C:\ProgramFiles\MATLAB71\toolbox\xml_toolbox\xml_parseany.p>xml_parseany at 154

Error in ==> C:\ProgramFiles\MATLAB71\toolbox\xml_toolbox\xml_parseany.p>xml_parseany at 163

Can it be fixed please.
Thanks

06 Nov 2007 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

This XML toolbox was great for my needs:
It allows an easy reading of XML files into matlab and the data handling is efficient.

Thanks!

28 Oct 2007 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

03 Oct 2007 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

Soy profor universitario y me gustaria probar las prestaciones de esta herramienta

28 Aug 2007 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

Very useful tool. One question: I have warnings that the p-files (28/01/2005) are older than the m-files (15/04/2005). Do I need to create new p-files, based on the m-files in the ZIP? Or is it better to do it not?

23 Aug 2007 XML Toolbox Conversion of MATLAB data types to XML and vice versa. Author: Marc Molinari

It is really a useful tool, but why couldn't i find the file 'xml_toolbox.pdf'?

Contact us