variable being saved as nonsence
Mostrar comentarios más antiguos
Hi,
So in the past, when Ive had to save variables from the workspace in the past I've had no issues. However I am currently trying to save a variable (of a matrix containing numbers) as a .txt and for some reason I'm having a wierd issue.
In the command window I use
cd(...)
save('test.txt','testmatrix','-ascii')
Whichin the past has worked fine for me, however with this matrix it is giving me complete nonsence, and is just outputting a .txt full of stuff like
†㈠㜮〶〰〰ⵥ㐰
I have literally zero ideas as to what is causing this, yet a few may be it is quite a large matrix (50x400), mostly containing double precision variables. A a few cells contain a 0 value. Any of these may cause an issue? If not what could it be?
Cheers.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Variables en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!