1 of 29

Introduction to MATLAB - Writing code using MATLAB programming

COM 103 ICT Applications in Food Industry (1+2)

Practical Schedule 6

Dr. S. Sridevy, Ph.D.

Assistant Professor (Computer Science)

Dept. of Physical Sciences & IT

AEC&RI, TNAU, Coimbatore – 3.

16 June 2020

2 of 29

MATLAB Desktop

  • MATLAB Desktop (Default) have:
    • Menu Bar
    • Current Folder Window
    • Command Window
    • Workspace
    • Command History
      • All are dockable
    • Dock the windows to the required size bring the windows back to the default view

S. Sridevy

16 June 2020

3 of 29

S. Sridevy

16 June 2020

4 of 29

Execute the following commands

  • clc – clears the command window

S. Sridevy

16 June 2020

5 of 29

S. Sridevy

16 June 2020

6 of 29

S. Sridevy

16 June 2020

7 of 29

  • clear Command

S. Sridevy

16 June 2020

8 of 29

S. Sridevy

16 June 2020

9 of 29

S. Sridevy

16 June 2020

10 of 29

  • exist command

S. Sridevy

16 June 2020

11 of 29

S. Sridevy

16 June 2020

12 of 29

S. Sridevy

16 June 2020

13 of 29

  • help command

S. Sridevy

16 June 2020

14 of 29

S. Sridevy

16 June 2020

15 of 29

  • lookfor command

S. Sridevy

16 June 2020

16 of 29

S. Sridevy

16 June 2020

17 of 29

  • who command

S. Sridevy

16 June 2020

18 of 29

S. Sridevy

16 June 2020

19 of 29

  • whos command

S. Sridevy

16 June 2020

20 of 29

S. Sridevy

16 June 2020

21 of 29

Commands

  • dir
  • cd
  • diary
  • Path
  • date

S. Sridevy

16 June 2020

22 of 29

S. Sridevy

16 June 2020

23 of 29

  • pwd
  • save
  • type

S. Sridevy

16 June 2020

24 of 29

S. Sridevy

16 June 2020

25 of 29

  • Script file

S. Sridevy

16 June 2020

26 of 29

S. Sridevy

16 June 2020

27 of 29

S. Sridevy

16 June 2020

28 of 29

  • Function File

S. Sridevy

16 June 2020

29 of 29

S. Sridevy

16 June 2020

Thank You!