Skip to main content

MATLAB Language: M-Files, Scripts, Flow Control and Numerical Analysis Functions

  • Chapter
  • First Online:
  • 7760 Accesses

Abstract

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, as described in Chapter 2.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 César Pérez López

About this chapter

Cite this chapter

López, C.P. (2014). MATLAB Language: M-Files, Scripts, Flow Control and Numerical Analysis Functions. In: MATLAB Programming for Numerical Analysis. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0295-1_4

Download citation

Publish with us

Policies and ethics