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 Kommentare

Image Analyst
Image Analyst am 4 Apr. 2021
Bearbeitet: Image Analyst am 4 Apr. 2021
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)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by