1.

How would you start a debugger in MATLAB?(a) There is no M-file in MATLAB(b) Type edit in MATLAB and press Enter(c) Type debug in MATLAB and press Enter(d) Type M-file in MATLAB and press EnterThis question was addressed to me during an interview.This intriguing question comes from M-Files topic in division Interacting with MATLAB of MATLAB

Answer»

The correct answer is (b) Type EDIT in MATLAB and press Enter

The best explanation: M-files are simple text files containing MATLAB programs. These can be used to run complex programs EASILY. In MATLAB, we can type edit to begin WRITING in Editor/Debugger MODE. Typing debug or M-file won’t do any good.



Discussion

No Comment Found

Related InterviewSolutions