Page 1 of 1
Plot excitation constraints in Matlab
Posted: Fri Jan 10, 2014 11:00 am
by npickle
I am manually constraining several muscles during CMC using a CMC_ControlConstraints.xml file. I would like to be able to plot these constraints using Matlab. Is there an existing way to convert the .xml file into something that is easily readable by Matlab, such as .sto?
Re: Plot excitation constraints in Matlab
Posted: Sun Jan 19, 2014 8:41 pm
by msamaan
Nathan,
You can use the xml io tools found on the Mathworks file exchange (link below) to help you plot the excitation constraints in Matlab. The xml_read command will read an XML file into Matlab and convert it into a structure, which can be easily manipulated via Matlab commands. The xml_write function is able to convert structures into XML files.
Mike
http://www.mathworks.com/matlabcentral/ ... xmliotools