Why cant't I save an array?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm trying to save a 1063x1 double called ewa to a file with this line of code:
save(ewa.mat, ewa);
I get this error: Attempt to reference field of non-structure array.
0 Kommentare
Akzeptierte Antwort
José-Luis
am 23 Jun. 2014
save('ewa.mat', ewa);
4 Kommentare
Joseph Cheng
am 23 Jun. 2014
have you looked at the documentation for save? they have examples on its use.
The documentation shows that both inputs should be a string.
save('ewa.mat', 'ewa');
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!