Why cant't I save an array?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Paul
el 23 de Jun. de 2014
Comentada: Paul
el 23 de Jun. de 2014
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 comentarios
Respuesta aceptada
José-Luis
el 23 de Jun. de 2014
save('ewa.mat', ewa);
4 comentarios
Joseph Cheng
el 23 de Jun. de 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');
Más respuestas (0)
Ver también
Categorías
Más información sobre Structures en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!