Function mrpt::io::vectorToTextFile(const std::vector<float>&, const std::string&, bool, bool)
Defined in File vector_loadsave.h
Function Documentation
-
bool mrpt::io::vectorToTextFile(const std::vector<float> &vec, const std::string &fileName, bool append = false, bool byRows = false)
A useful function for debugging, which saves a numeric std::vector as a plain-text file compatible with MATLAB.
- Returns:
Returns false on any error, true on everything OK.