#include <cctype>
#include <fstream>
#include <limits>
#include "file-ops.h"
#include "lo-ieee.h"
#include "defun.h"
#include "interpreter.h"
#include "oct-stream.h"
#include "error.h"
#include "ovl.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
OCTAVE_EXPORT octave_value_list | Fdlmread (octave::interpreter &interp, const octave_value_list &args, int) i.e. |
static bool | parse_range_spec (const octave_value &range_spec, octave_idx_type &rlo, octave_idx_type &clo, octave_idx_type &rup, octave_idx_type &cup) |
static bool | read_cell_spec (std::istream &is, octave_idx_type &row, octave_idx_type &col) |
Variables | |
OCTAVE_EXPORT octave_value_list the first data row corresponds to an index of zero The | ar {range} parameter specifies exactly which data elements are read. The first form of the parameter is a 4-element vector containing the upper left and lower right corners ode{[ar{R0},ar{C0},ar{R1},ar{C1}]} where the indices are zero-based. Alternatively |
OCTAVE_EXPORT octave_value_list the first data row corresponds to an index of zero The a spreadsheet style form such as | code {"A2..Q15"} or code{"T1:AA5"} can be used. The lowest alphabetical index code{'A'} refers to the first column. The lowest row index is 1. ar{file} should be a filename or a file id given by ode{fopen}. In the latter case |
static const octave_idx_type | idx_max |
static const double | idx_max_dbl = double (idx_max) |
OCTAVE_EXPORT octave_value_list the first data row corresponds to an index of zero The a spreadsheet style form such as the file is read until end of file is reached The such as | text |
OCTAVE_EXPORT octave_value_list Fdlmread | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
|
static |
Definition at line 87 of file dlmread.cc.
References idx_max, idx_max_dbl, is, octave_value::is_real_matrix(), octave_value::is_string(), min(), octave_value::numel(), range(), read_cell_spec(), stat(), octave_value::string_value(), and octave_value::vector_value().
|
static |
Definition at line 51 of file dlmread.cc.
References is, row, and stat().
Referenced by parse_range_spec().
OCTAVE_EXPORT octave_value_list the first data row corresponds to an index of zero The ar {range} parameter specifies exactly which data elements are read. The first form of the parameter is a 4-element vector containing the upper left and lower right corners ode{[ar{R0},ar{C0},ar{R1},ar{C1}]} where the indices are zero-based. Alternatively |
Definition at line 194 of file dlmread.cc.
OCTAVE_EXPORT octave_value_list the first data row corresponds to an index of zero The a spreadsheet style form such as the file is read until end of file is reached The code {"A2..Q15"} or code{"T1:AA5"} can be used. The lowest alphabetical index code{'A'} refers to the first column. The lowest row index is 1. ar{file} should be a filename or a file id given by ode{fopen}. In the latter case |
Definition at line 194 of file dlmread.cc.
|
static |
Definition at line 45 of file dlmread.cc.
Referenced by parse_range_spec(), and dim_vector::safe_numel().
Definition at line 48 of file dlmread.cc.
Referenced by parse_range_spec().
OCTAVE_EXPORT octave_value_list the first data row corresponds to an index of zero The a spreadsheet style form such as the file is read until end of file is reached The such as text |
Definition at line 194 of file dlmread.cc.
Referenced by octave::octave_qscintilla::auto_close(), HTMLDecoder::begin(), brace_expand(), octave::octave_qscintilla::clear_selection_markers(), HTMLDecoder::decodeLine(), TerminalView::doDrag(), TerminalView::drawCharacters(), HTMLDecoder::end(), KeyboardTranslator::Entry::escapedText(), generate_completion(), octave::file_editor_tab::handle_combo_enc_current_index(), octave::history_dock_widget::handle_contextmenu_copy(), octave::history_dock_widget::handle_contextmenu_create_script(), symbol_info_list::parse_whos_line_format(), quoting_filename(), KeyboardTranslatorReader::readNext(), octave::QUIWidgetCreator::rm_amp(), TerminalView::selectedText(), octave::command_editor::set_initial_input(), octave::octave_qscintilla::smart_indent(), octave::octave_qscintilla::smart_indent_line_or_selected_text(), and KeyboardTranslatorReader::tokenize().