Clear Filters
Clear Filters

Bug in xml2struct?

1 view (last 30 days)
Jacopo
Jacopo on 27 Sep 2011
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 Comments
Walter Roberson
Walter Roberson on 27 Sep 2011
10^4 large in how many dimensions? e.g., is it 10^4 x 10^4 ?
Jan
Jan on 27 Sep 2011
@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.

Sign in to comment.

Answers (2)

UJJWAL
UJJWAL on 27 Sep 2011
xml2mat ?? When I type xml2mat in MATLAB R2011b then I get nothing....

Jacopo
Jacopo on 27 Sep 2011
Sorry, I have reformulated the question.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!