You are here: Symbol Reference > MtxVecBase Namespace > Classes > TMtxVecBase Class > public > TMtxVecBase.LoadFromFile Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecBase.LoadFromFile Method

Reads the header information and the values array content from the file.

Pascal
procedure LoadFromFile(FileName: string);

Reads the header information and the values array content from the file specified by FileName parameter. 

 

  • In case of '.csv' extension a comma is used as a column delimiter for matrices.
  • In case of '.txt' extension a tab is used as a column delimiter for matrices.
  • For all other extensions, the expected format is binary.
var b: TVec; begin CreateIt(b); try b.LoadFromFile('c:test.Vec'); // Read header and values for b finally FreeIt(b); end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!