Using the C++ Math Library | ![]() ![]() |
Overview
This chapter describes how to:
The C++ I/O stream operators are more convenient than functions like fprintf()
, because they are more consistent, flexible, and extensible. Because each object in a C++ program is responsible for printing itself to a stream and reading itself from a stream, objects have complete control over their own printed format. New objects can be added without changing the code in the basic streams mechanism.
In addition, the MATLAB C++ Math Library also supports the load()
and save()
routines which enable you to import and export data in MAT-file format. The library stream I/O implementations do not support .
![]() | The Space-Time Continuum | Using Array Stream I/O | ![]() |