How Enter MATLAB

Each time you start MATLAB, you are starting a new session. Each Session is independent of the others. If you want to save your work, type  diary and file name at the first line.

 
1.  For Starting  LAB:
i) Open a terminal
ii) Type textmatlab  then press enter
iii) Type diary LAB1.text then press enter  (This will open the file LAB1.text and copy everything you type in MATLAB in that file.)
iii)   Continue your work on the LAB 
...
...
...
...
When finished
Type
i) save               
then press enter
ii) diary off         then press enter
iii) exit              
then press enter

See How to start.

2.  For continue the work,  

i) Open a terminal
ii) Type textmatlab                          then press enter
iii) Type diary LAB1.text                 then press enter  (This will reopen the file LAB1.text and copy everything you type in MATLAB at the end of that file.)
iv) Type load                                    then press enter       
v) Continue your work on the LAB

   When finished
Type
i) save               
then press enter
ii) diary off         then press enter
iii) exit              
then press enter