GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ls-mat-ascii.h File Reference
#include "octave-config.h"
#include <iosfwd>
#include <string>
Include dependency graph for ls-mat-ascii.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool looks_like_mat_ascii_file (std::istream &is, const std::string &filename)
 
std::string read_mat_ascii_data (std::istream &is, const std::string &filename, octave_value &tc)
 
bool save_mat_ascii_data (std::ostream &os, const octave_value &val_arg, int precision, bool tabs=false)
 

Function Documentation

◆ looks_like_mat_ascii_file()

bool looks_like_mat_ascii_file ( std::istream &  is,
const std::string &  filename 
)

Definition at line 401 of file ls-mat-ascii.cc.

References get_lines_and_columns(), and retval.

Referenced by octave::load_save_system::get_file_format().

◆ read_mat_ascii_data()

std::string read_mat_ascii_data ( std::istream &  is,
const std::string &  filename,
octave_value tc 
)

◆ save_mat_ascii_data()

bool save_mat_ascii_data ( std::ostream &  os,
const octave_value val_arg,
int  precision,
bool  tabs = false 
)