What is the difference between .m and .M?

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

3 commentaires

Matt J
Matt J le 11 Mai 2022
Modifié(e) : Matt J le 11 Mai 2022
Nothing Matlab-related, I don't think. Where did you come across a .M file?
HOMIN KIM
HOMIN KIM le 11 Mai 2022
I found it in old simulation model. old mat files are also .MAT, not .mat
Jonas
Jonas le 11 Mai 2022
there is no difference, file extensions are not case sensitive

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 11 Mai 2022

0 votes

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.

Catégories

Tags

Question posée :

le 11 Mai 2022

Réponse apportée :

Jan
le 11 Mai 2022

Community Treasure Hunt

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

Start Hunting!

Translated by