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 个评论
另请参阅
类别
Find more on Structures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!