How to load part of a big structure to the workspace?

조회 수: 23 (최근 30일)
MINA
MINA 2018년 1월 10일
댓글: Stephen23 2018년 1월 10일
I have a big structure and loading it would take a long time. I need a specific variable in that structure. Is there any way I can do it faster. Suppose my structure is A. I need a field with the index i, that is I need to access to A(i).B.C.F

답변 (1개)

Stephen23
Stephen23 2018년 1월 10일
Use matfile, that is exactly what it was designed for.
  댓글 수: 2
MINA
MINA 2018년 1월 10일
I used matfile but still it's very slow.
Stephen23
Stephen23 2018년 1월 10일
If that is still very slow then it might be slowed down by being uncompressed. Perhaps one of the .mat file experts might like to comment on this?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by