mat to ascii conversion
38 次查看(过去 30 天)
显示 更早的评论
load ('ggoodFFR.mat');
save ('ggoodFFR.txt', '-ascii');
I used this code to convert mat to ascii.but its showing error.Its an average file with value 1*3125 double.
Please help
4 个评论
Matt Butts
2023-1-18
Do you have write access to the current directory? Does a file already exist called FFR.txt in the current directory?
采纳的回答
Ashu
2023-1-27
Hi Gowri,
You are using the right code to save the file as .txt.
The problem might be due to -
- An anti-virus program denying permissions: Try to disable the antivirus to quickly check if the problem is resolved.
- Limited write permissions in that location: Try to change the location of saving the file. You can also experiment by creating and deleting a text file in that location to confirm this.
Regards
Ashutosh
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!