MATLAB file on opening showing weird symbols or letters
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
nick
le 12 Août 2024
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 commentaires
Voir également
Catégories
En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!