A very important tool in MATLAB, besides the default ones you see when first opening the environment, is the editor. The editor can be invoked in various ways, depending on what you want to accomplish. The three basic ways are:
.m
extension (MATLAB code) by clicking on Open…, or selecting a file from the RECENT FILES listOnce you have invoked the editor using any of the ways mentioned previously, a new window will pop up. In this window, you can write, alter, and save your code using a powerful code editor. We will not go into detail here, since to fully comprehend the functionalities of this tool, we first have to learn how to write code in MATLAB.