...
The Workspace window shows all the currently defined variables. If you don't see this window, select Layout Home (tab) > Layout > Workspace so that a tick mark appears next to the window name.
...
If you don't see this window, select Layout Home (tab) > Layout > Command History .
We'll create a MATLAB program to calculate R using the above three statements. Nothing fancy here: the program will just be a text file with the above statements. Such a file is called a Script File and have the filename extension .m . Let's take a peek at the documentation on Script files. Go in Help > Documentation and search for Script.
...
Let's now create a Script file and simultaneously bring up the Editor. From the Select Home (tab, select New ) > New Script.
First, note that you can dock and undock the editor by clicking on the Show Editor Actions icon, , located in the top right corner of the Editor window. Notice that the editor tabs merges with the three default tabs when the Editor window is docked.
...