![]() |
关于用matlab读取xml文件的问题
当我用matlab的xmlread命令读取xml文件中某数据项时,有时会遇到该数据项没有信息的情况,如
- <row> <final_points>0.0</final_points> <division>2</division> <problems_presented>3</problems_presented> <problems_submitted /> <problems_correct>0</problems_correct> </row> 读到 数据项problems_submitted 的时候,程序报错。如何可以将这时的problems_submitted 项自动设置为零,并且使程序继续运行呢? 谢谢! |
所有时间均为北京时间。现在的时间是 09:51。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.