1,847
edits
No edit summary |
(Mark as outdated.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Warning|This article is '''outdated'''. For current C++ code examples see the Octave Manual https://octave.org/doc/latest/Standalone-Programs.html.}} | |||
The code below shows an example of how to load a matrix from a file in Octave's binary file format. | The code below shows an example of how to load a matrix from a file in Octave's binary file format. | ||
An example of how to load data from a file in Octave's ascii format can be found in this | An example of how to load data from a file in Octave's ascii format can be found in this [[fortran|page]]. | ||
{{Code|octave_binary_io_example.cc: C++ function to load a matrix from a BINARY file in Octave native format|<syntaxhighlight lang="C" style="font-size:13px"> | {{Code|octave_binary_io_example.cc: C++ function to load a matrix from a BINARY file in Octave native format|<syntaxhighlight lang="C" style="font-size:13px"> | ||
Line 69: | Line 70: | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
[[Category:Outdated pages]] |