O'Reilly logo

Matlab: A Practical Introduction to Programming and Problem Solving, 2nd Edition by Stormy Attaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9

Advanced File Input and Output

Contents

Key Terms

file input and output

file types

lower-level file I/O functions

open the file

close the file

file identifier

permission strings

end of the file

This chapter extends the input and output concepts that were introduced in Chapter 2. In that chapter, we saw how to read values entered by the user using the input function, and also the output functions disp and fprintf that display information in windows on the screen. For file input and output (file I/O), we used the load and save functions that can read from a data file into a matrix, and write from a matrix to a data file. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required