xml文件怎么导入MATLAB中读取文件中的数据

如题所述

help xmlread
 xmlread  Parse an XML document and return a Document Object Model node.
    DOMNODE = xmlread(FILENAME) reads a URL or file name in the 
    string input argument FILENAME.  The function returns DOMNODE,
    a Document Object Model (DOM) node representing the parsed document.  
    The node can be manipulated by using standard DOM functions.
 
    Note: A properly parsed document will display to the screen as
 
      >> xDoc = xmlread(...)
 
      xDoc =
 
      [#document: null]
 
    Example 1: All XML files have a single root element.  Some XML
    files declare a preferred schema file as an attribute of this element.

温馨提示:答案为网友推荐,仅供参考
第1个回答  2017-05-17
主要就是加载训练好的分类器,和检测代码,cvLoad和detect_and_draw(一般函数名字都叫这个),我以前整理的资料,可以参考下
相似回答