1.

What is the function of the mexext command?(a) Reveals the version of the MEX file(b) Reveals the package in which the MEX file is stored(c) Returns the extension of the MEX file for the system(d) ErrorThe question was posed to me during a job interview.I'm obligated to ask this question of Calling External Functions topic in portion Advanced Software Development of MATLAB

Answer» CORRECT answer is (c) Returns the extension of the MEX file for the system

Easy EXPLANATION: The MEX file, generated in MATLAB will have an extension which DEPENDS on system configurations. Hence, the above code returns the extension of the MEX file when generated from the current system.


Discussion

No Comment Found

Related InterviewSolutions