how to save 1x3072 data without output truncated error?
2 次查看(过去 30 天)
显示 更早的评论
I am facing problem of extracting a data of 1*3072 into xml file. The last data can be saved is no.2500. Output truncated error occurred ever since there. Can anybody help? Here is my code:
docNode = com.mathworks.xml.XMLUtils.createDocument('LUT'); xmlwrite(docNode) entry_node = docNode.createElement('sigmaLUT');
a= signal(:,1); b= abs(a)';
entry_node.appendChild(docNode.createTextNode(sprintf('%i',b))); docNode.getDocumentElement.appendChild(entry_node); xmlwrite(docNode) xmlwrite('sigmaLUT.xml',docNode);
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!