Plot excitation constraints in Matlab
- Nathan Pickle
- Posts: 12
- Joined: Wed Jan 09, 2013 11:10 am
Plot excitation constraints in Matlab
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?
- Michael Samaan
- Posts: 12
- Joined: Wed Jan 13, 2010 11:38 am
Re: Plot excitation constraints in Matlab
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
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