Struct contents reference from a non-struct array object in yout.getElement
Ältere Kommentare anzeigen
sim('pmu_3ph.slx');
vsignal= yout.getElement('VC_line');
t= vsignal.Values.Time;
v= vsignal.Values.Data;
ERROR:
Struct contents reference from a non-struct array object.
Error in LMSFunda (line 19) vsignal= yout.getElement('VC_line');
VC_line is a sinusoidal wave generated in my simulink model and it is attached to Out1 sink which i am trying to import to my program.
In workspace yout is 7254x1 double.
Please help me why this problem is coming and what can be done.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!