Why cant't I save an array?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
José-Luis
le 23 Juin 2014
save('ewa.mat', ewa);
4 commentaires
Joseph Cheng
le 23 Juin 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');
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Structures dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!