XMLファイルの読み込み

13 views (last 30 days)
Shinij Kumagai
Shinij Kumagai on 22 Sep 2020
Edited: michio on 24 Sep 2020
下記XMLファイルの <ChNameJp>~</ChNameJp>だけを読み込んでリストを作りたいです。
下記URLを参考にしたのですが、うまく、読み込むことができませんでした。
ご教授いただけると幸いです。
<?xml version="1.0" ?>
<Setting Version="1.0.0">
<Voltage Min="112">
<Ch No="1">
<No>1</No>
<Protect>False</Protect>
<ChNameJp>AAAA</ChNameJp>
<Comment></Comment>
</Ch>
<Ch No="2">
<No>2</No>
<Protect>False</Protect>
<ChNameJp>BBBB</ChNameJp>
<Comment></Comment>
</Ch>
</Voltage>
<Frequency Min="4">
<Ch No="1">
<No>1</No>
<Protect>False</Protect>
<ChNameJp>CCCC</ChNameJp>
<Comment></Comment>
</Ch>
</Frequency>
<TTT1 Min="0" Use="False" Boudrate="0">
<Ch No="1">
<No>1</No>
<Protect>False</Protect>
<ChNameJp>1=A1_0</ChNameJp>
<Comment>コント</Comment>
</Ch>
<Ch No="2">
<No>2</No>
<Protect>False</Protect>
<ChNameJp></ChNameJp>
<Comment></Comment>
</Ch>
</TTT1>
</Setting>

Answers (0)

Tags

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!