MATLAB file on opening showing weird symbols or letters
15 次查看(过去 30 天)
显示 更早的评论
I had saved a .m file and today when i tried opening the file it just shows some symbols and letters like
MATLAB 5.0 MAT-file, Platform: PCWIN64, Created on: Fri Aug 9 16:22:11 2024
‰ì=³÷<öã{ÏÌdÙ„·ý^Ÿë÷=×õ<ës]çÜÎýñ|¾vÐÑѱÐÑ1ýï‘XLÿ»#nŒÄb%Ãÿ=ðÿߦ£ÿ¿×ŠwM
0 个评论
回答(1 个)
nick
2024-8-12
Hi Mayank,
I understand that you are getting weird symbols when opening a .M file.
The attached text states that it is a .MAT file instead of .M file.The weird symbols and letters occur as the .MAT file is saved as a .M file, for example by using the following command:
save FileName.m
You can see the information inside the .M file by using the following command:
whos -file FileName.m
You may refer to the following MATLAB Answer to learn more about the difference between M and MAT files :
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!