Attempt to reference field of non-structure array.

Good morning friends, I'm calling, workspace block data
theta1 =
values: [10000x99 constant]
time: [10000x1 constant]
to simulate in 3d,
plot3d1(theta1.time,theta1.values)
and I get this error.
Attempt to reference field of non-structure array.

2 个评论

Not sure that makes sense. Try this EXACTLY and paste back here EXACTLY what it shows in the command window:
whos theta1
theta1
plot3d1(theta1.time,theta1.values)

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

产品

版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by