Changing Matlab files to .xml
显示 更早的评论
I have two .m files that I would like to change to .xml.
I have looked through the Matlab help for using the function xmlwrite(), but don't understand how to specificy the DOMnode (it is not obvious what the child nodes in my code are)
Here is a segment of the code I am trying to convert (it is all in the same format; just setting parameters):
LceOffsetHAM = 0.85; %[loptHAM]
GainHAMHFL = 4; %[]
% hamstring group (self, F+, swing)
GainHAM = 0.65/FmaxHAM; %[1/N]
PreStimHAM = 0.01; %[]
% gluteus group (self, F+, swing)
GainGLU = 0.5/FmaxGLU; %[1/N]
PreStimGLU = 0.01; %[]
Can anyone explain how to do this file type conversion? My end goal is to use the files in OpenSim2.4. Thank you!
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Structured Data and XML Documents 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!