Function mrpt::io::vectorNumericFromTextFile

Function Documentation

bool mrpt::io::vectorNumericFromTextFile(std::vector<double> &vec, const std::string &fileName, const bool byRows = false)

Load a numeric std::vector<double> from a text file (compat. with MATLAB)

See also

loadBinaryFile

Returns:

Returns false on any error, true on everything OK.