November 2014
Intermediate to advanced
292 pages
4h 39m
English
CHAPTER 2
![]()
MATLAB Programming
2.1 MATLAB Programming
MATLAB can be used as a high-level programming language including data structures, functions, instructions for flow control, management of inputs/outputs and even object-oriented programming.
MATLAB programs are usually written into files called M-files. An M-file is nothing more than a MATLAB code (script) that executes a series of commands or functions that accept arguments and produce an output. The M-files are created using the text editor.
2.1.1 The Text Editor
The Editor/Debugger is activated by clicking on the create a new M-file button in the MATLAB desktop or by selecting File New ...
Read now
Unlock full access