1.

Where do we need to store a function to call it in other programs?(a) The bin folder(b) Anywhere(c) The MATLAB folder(d) DesktopI got this question by my college professor while I was bunking the class.My question is based upon The MATLAB Interface topic in division Interacting with MATLAB of MATLAB

Answer» RIGHT answer is (a) The BIN folder

To elaborate: M-files CONTAINING only a function has to be WRITTEN separately and has to be stored as .m files in the bin folder. If it stored in any other folder, MATLAB won’t be able to access the function file.


Discussion

No Comment Found

Related InterviewSolutions