This application presents a web-based virtual laboratory for learning of MATLAB. Using this virtual laboratory, users could write their own MATLAB M-files and execute them using the MATLAB web server.