1.

What is the extension of script files?(a) .m(b) .mat(c) .script(d) There is a nothing called script fileThis question was addressed to me in an interview for job.My question is based upon M-Files in section Interacting with MATLAB of MATLAB

Answer»

Right OPTION is (a) .m

The BEST I can EXPLAIN: Script files are a kind of M-file. So to SAVE a script file, it has to saved with a .m extension. On the other hand, .mat extension is for MAT files.



Discussion

No Comment Found

Related InterviewSolutions