I have never used EJS with MathLab (Because I did not have MathLAB).
But I know that it is the other way around. You can open MathLab file with EJS and
use MathLab to do the calculation while use EJS to generate the GUI (Graphic user interface).
For more information please contact Fransisco (few@um.es).