What is the difference between .m and .M?

19 visualizaciones (últimos 30 días)
HOMIN KIM
HOMIN KIM el 11 de Mayo de 2022
Respondida: Jan el 11 de Mayo de 2022
What is the difference between .m(small m file) and .M(large m file)?
  3 comentarios
HOMIN KIM
HOMIN KIM el 11 de Mayo de 2022
I found it in old simulation model. old mat files are also .MAT, not .mat
Jonas
Jonas el 11 de Mayo de 2022
there is no difference, file extensions are not case sensitive

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 11 de Mayo de 2022
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.

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by