What is the difference between .m and .M?

What is the difference between .m(small m file) and .M(large m file)?

댓글 수: 3

Matt J
Matt J 2022년 5월 11일
편집: Matt J 2022년 5월 11일
Nothing Matlab-related, I don't think. Where did you come across a .M file?
HOMIN KIM
HOMIN KIM 2022년 5월 11일
I found it in old simulation model. old mat files are also .MAT, not .mat
Jonas
Jonas 2022년 5월 11일
there is no difference, file extensions are not case sensitive

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2022년 5월 11일

0 개 추천

Under Windows, files are not case-sensitive in general, but under Linux and MacOS they are. For code without dependencies on the platform, Matlab uses case-sensitive function names since R2009a (as far as I remember). If .M files are accepted is easy to test, but there is no general difference to .m files, because both are simply text files.

카테고리

도움말 센터File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

태그

질문:

2022년 5월 11일

답변:

Jan
2022년 5월 11일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by