Skip to main content

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

  • Chapter
  • First Online:
MATLAB Programming for Numerical Analysis
  • 7775 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 to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.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

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