Reassignment of structure values

조회 수: 2 (최근 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 CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

태그

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by