The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa.
For example,
>> project.name = MyProject
>> project.id = 1234
>> project.param.a = 3.1415
>> project.param.b = 42
becomes with str=xml_format(project, off )
"<project>
<name>MyProject</name>
<id>1234</id>
<param>
<a>3.1415</a>
<b>42</b>
</param>
</project>"
On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
標(biāo)簽:
converts
Toolbox
complex
logical
上傳時(shí)間:
2016-02-12
上傳用戶:a673761058
執(zhí)行步驟1:
執(zhí)行EX1126程式進(jìn)入學(xué)生考試系統(tǒng)
權(quán)限描述:
使用者查詢:於”姓名”中輸入”Arno”,於”學(xué)號(hào)”中輸入”good”,再按下”使用者查詢”
即可查詢.
修改使用者:於”姓名”中輸入”GUEST”,於”學(xué)號(hào)”中輸入”0000”,再按下” 修改使用者即可修改:
功能描述:
使用者開(kāi)始考試,於”姓名”中輸入自己的姓名,於”學(xué)號(hào)”中輸入學(xué)號(hào),再按下” 考試去”即可: 開(kāi)始考試,同時(shí)系統(tǒng)紀(jì)錄考生狀態(tài)為”1”.
使用者考試,完成後按下”結(jié)算成績(jī)”,同時(shí)系統(tǒng)顯示紀(jì)錄考生該科分?jǐn)?shù),同時(shí)清除考生登入狀態(tài),使其無(wú)法重覆考試,老師並可查詢考生成績(jī).
標(biāo)簽:
1126
Arno
good
EX
上傳時(shí)間:
2016-07-31
上傳用戶:chens000