1.

The dbstop command, for anonymous functions __________(a) Pauses, for debugging, after the line which dbstop indicates(b) Pauses, for debugging, before the line which dbstop indicates(c) exits from the debugging mode after the line which dbstop indicates(d) exits from the debugging mode before the line which dbstop indicatesI got this question in a job interview.Question is taken from Debugging topic in section MATLAB Programming of MATLAB

Answer»

Right choice is (a) Pauses, for debugging, after the line which dbstop indicates

Best explanation: For anonymous FUNCTIONS, the dbstop command works DIFFERENTLY in contrast to pre-defined functions. This nature of working is only for anonymous functions which are not stored in the MATLAB MEMORY. The dbquit command is USED to exit from the debugging MODE.



Discussion

No Comment Found

Related InterviewSolutions