フィルターのクリア

How can I Form XML File Vector Node Class

2 ビュー (過去 30 日間)
SAMEER ahamed
SAMEER ahamed 2014 年 2 月 24 日
Hi, I have integer values below like :
if true
% code
for i=1:5
matrix{1,i}=[4,2,1,3,2,2,2,2,] %1-by-8 Vector
end
end
*I want to form XML file below like :*
if true
% code
<test>
<id>1</id>
<matrix class="vector">
<vector>
<int>4</int>
<int>2</int>
<int>1</int>
<int>3</int>
<int>1</int>
<int>1</int>
<int>1</int>
<int>1</int>
</vector>
<vector>
<int>4</int>
<int>2</int>
<int>3</int>
<int>1</int>
<int>1</int>
<int>1</int>
<int>1</int>
<int>1</int>
</vector>
</matrix>
</test>
end

回答 (0 件)

カテゴリ

Help Center および File ExchangeStructured 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