Convert xml data to universal file format

조회 수: 4 (최근 30일)
praveen
praveen 2011년 6월 2일
Hi, I am newbie to matlab, acutally i am asp.net developer. I have a requirement where xml data has to be converted to Universal File Format(.uff). I have googled and finally found a code that converts ascii to uff written in matlab. Check the code in following link
From the above link its evident an UFF file can be generated in 8 types. So could anyone please provide me code/function that converts xml to .uff(58 and 58b types). Below is my sample xml file data
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Measuring point: E-200.02 VIB Axial växel
-->
- <!-- Assignment: Axial 500 Hz
-->
-
- <Settings>
<UpperFrqHz>500</UpperFrqHz>
<LowerFrqHz>0.5</LowerFrqHz>
<NoLinesInSpectrum>1600</NoLinesInSpectrum>
<Date>2011-04-15</Date>
<Time>09:25</Time>
</Settings>
- <Spectrum>
<Unit>mm/s</Unit>
<Line1>0.0</Line1>
<Line2>5.4</Line2>
<Line3>3.4</Line3>
<Line1600>0.1</Line1600>
</Spectrum>
- <TimeSignal>
<Unit>mm/s</Unit>
<Line1>2.7</Line1>
<Line2>4.4</Line2>
<Line3>5.2.4</Line3>
<Line4096>-3.1</Line4096>
</TimeSignal>
Thanks
Praveen

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by