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!