Reassignment of structure values

6 ビュー (過去 30 日間)
Russell Arnott
Russell Arnott 2018 年 7 月 1 日
コメント済み: Jan 2018 年 7 月 1 日
Hello! Having trouble with structure arrays! I have a large (150Mb) structure of the format ADV.Day.M.Pos.Depth All values are numerical. I need to remove certain values and have identified the ones i don't want in as an index. All i want to do is crop these values so have written a for loop in the vain of
G=ADV.Day.M.Pos.Depth
G (index)=[]
But now i want to replace the original data but it keeps coming up with ' Expected one output from a curly brace or dot indexing expression but there were 9 results". Could you please help me out with the syntax? I've been playing with structfun and num2cell but to no avail...
  1 件のコメント
Jan
Jan 2018 年 7 月 1 日
Please post your code.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCell Arrays についてさらに検索

タグ

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by