필터 지우기
필터 지우기

Changing Matlab files to .xml

조회 수: 2 (최근 30일)
Rachel
Rachel 2012년 6월 13일
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개)

카테고리

Help CenterFile 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!

Translated by