1.

The dbquit command, if placed in an m.file, will __________(a) never run the debugging mode(b) exit from the debugging mode(c) result in an error while running the function(d) dbquit does not existI got this question in an international level competition.My enquiry is from Debugging topic in section MATLAB Programming of MATLAB

Answer»

The CORRECT OPTION is (c) result in an error while running the function

To elaborate: This command will result in an error if it is PLACED within an m.file. This is because debugging commands can only be used when the control enters debug mode and we need to give these commands only from the command window.



Discussion

No Comment Found

Related InterviewSolutions