Class CalcLink

From Octave
Jump to navigation Jump to search

GNU Octave and LibreOffice Calc Link

GNU Octave class CalcLink makes it possible to communicate with and control the LibreOffice Calc program from GNU Octave, including reading and writing operations but also formatting. This way it is possible to create well-formatted tabular reports from GNU Octave using LibreOffice Calc.


Source Code

Source code for this class is available at:


Code relies on ActiveX which is available only on Windows operating systems.

Provided code is tested with GNU Octave 6.4.0, LibreOffice 7.2.4 and Windows 10 20H2.


For usage please check provided examples.


Discussion about this class is available at Discourse.

Author and Licensing

Author: Miloš Petrašinović <>


Department of Aerospace Engineering, Faculty of Mechanical Engineering, University of Belgrade

Distributed under the GNU General Public License v3.0 or later license.