Hi everyone
I am modifying an OpenSim model through Matlab pipeline.
So I read the existing model, change some information in the structure (basically the relative locations of bodies,...) and I would like to write the new xml.
However, the xml_writeOSIM is not working...
I am using Matlab R2014b and OpenSim 3.3.
Has anyone faced this problem before?
Apparently the problem may come from the Xerces XML engine...
Thank you for any help / suggestion
xml_writeOSIM.m
- Maxime Bourgain
- Posts: 9
- Joined: Mon Mar 09, 2015 8:17 am
Re: xml_writeOSIM.m
Apparently, there is a problem with the matlab function in the 2014b version.
That problem can be solved by changing the xmlwrite_xerces code by simply changing
set(objOutputFormat,'Indenting','on');
by
set(objOutputFormat,'Indenting',1);
That problem can be solved by changing the xmlwrite_xerces code by simply changing
set(objOutputFormat,'Indenting','on');
by
set(objOutputFormat,'Indenting',1);