Plot excitation constraints in Matlab

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Nathan Pickle
Posts: 12
Joined: Wed Jan 09, 2013 11:10 am

Plot excitation constraints in Matlab

Post by Nathan Pickle » Fri Jan 10, 2014 11:00 am

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?

User avatar
Michael Samaan
Posts: 12
Joined: Wed Jan 13, 2010 11:38 am

Re: Plot excitation constraints in Matlab

Post by Michael Samaan » Sun Jan 19, 2014 8:41 pm

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

POST REPLY