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

14 ビュー (過去 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 Center および File ExchangeWorkspace 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