Bug in xml2struct?

조회 수: 2 (최근 30일)
Jacopo
Jacopo 2011년 9월 27일
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
Walter Roberson
Walter Roberson 2011년 9월 27일
10^4 large in how many dimensions? e.g., is it 10^4 x 10^4 ?
Jan
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
UJJWAL 2011년 9월 27일
xml2mat ?? When I type xml2mat in MATLAB R2011b then I get nothing....

Jacopo
Jacopo 2011년 9월 27일
Sorry, I have reformulated the question.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by