variable being saved as nonsence
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Variables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!