Both Mathematica and MATLAB widely uses .m
files, but with diametrically different syntaxes and usage. Currently WRI is moving towards the .wl
extension, however due to compatibility reasons .m
files aren't going anywhere soon.
Suppose I receive a .m
file from a collaborator without much context, how shall I determine its correct association based on its content?
blah = {1, 2, 3}
a Mathematica list, or a MATLAB cell array? $\endgroup$