1.

What does the echo command do?(a) It echoes(b) It shows the comments present in Script files(c) It shows the commands and comments in MAT-files(d) It shows the commands and the comments in M-filesI have been asked this question in an online interview.Query is from M-Files in division Interacting with MATLAB of MATLAB

Answer»

The CORRECT OPTION is (d) It shows the COMMANDS and the comments in M-files

For explanation: The ECHO COMMAND is a pre-defined function in MATLAB. If it is present in an m-file, the command will help to show the commands and comments present in the m-file when the m-file is called in the command window.



Discussion

No Comment Found

Related InterviewSolutions