what is the difference between editor and command window in matlab?
The MATLAB Command Window is the main window where you type commands directly to the MATLAB interpreter. The MATLAB Editor Window is a simple text editor where you can load, edit and save complete MATLAB programs. ... It also has a number of example programs and tutorials.