Bug in xml2struct?
显示 更早的评论
I need to convert some huge matrices (dim=O(10^4)) from xml to mat. To do so, I pass xml --> struct and then struct-->mat. I used xml2struct but I got a bus error / segmentation fault because of lack of memory for the structure. Have you got any advice for me?
4 个评论
Wayne King
2011-9-27
Hi, since xml2mat.m is not a Mathworks' function,and it does not appear to be on the file exchange, I think you should point people to where you got it.
Jan
2011-9-27
10^4 is not very huge. Therefore I'm surprised that the memory is exhausted. Can you read the file with other XML parsers?
Walter Roberson
2011-9-27
10^4 large in how many dimensions? e.g., is it 10^4 x 10^4 ?
Jan
2011-9-27
@Walter: A [1e4 x 1e4] DOUBLE array needs 800 MB, as you know. If the program creates several temporary values of this array, even modern computers might be exhausted.
回答(2 个)
UJJWAL
2011-9-27
0 个投票
xml2mat ?? When I type xml2mat in MATLAB R2011b then I get nothing....
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!