经过一周的学习,今天终于把xml文件里面的数据用matlab读取,并将字符型转换为double型,成功画出图形。
test.xml文件如下,包含一种节点<meanValue>,长度为13
<?xml version="1.0"?>
<opencv_storage>
<meanValue>4.3504226684570311e+000</meanValue>
<!-- resumed -->
<meanValue>4.3509033203124998e+000</meanValue>
<!-- resumed -->
<meanValue>4.3439079284667965e+000</meanValue>
<!-- resumed -->
<meanValue>4.3564590454101566e+000</meanValue>
<!-- resumed -->
<meanValue>4.3604904174804684e+000</meanValue>
<!-- resumed -->
<meanValue>4.3600425720214844e+000</meanValue>
<!-- resumed -->
<meanValue>4.3680847167968748e+000</meanValue>
<!-- resumed -->
<meanValue>4.3724212646484375e+000</meanValue>
<!-- resumed -->
<meanValue>4.3660362243652342e+000</