What is the difference between .m and .M?
Show older comments
Answers (1)
Jan
on 11 May 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.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!