How do you define a structure array?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a function that defines the following variables:
xmin = procPar.xmin;
tmin = procPar.tmin;
fmin = procPar.fmin;
I'm using this:
procPar.xmin = Dsifile.th{1}(37,1);
procPar.tmin = Dsifile.fh{1}(1,9);
procPar.fmin = 10;
but I'm getting an error that says "Dot indexing not supported for variables of this type"
댓글 수: 3
답변 (1개)
Walter Roberson
2021년 10월 26일
Possibly procPar already exists but is not a struct or table already.
Possibly Dsifile exists but is not a struct or table.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!