I want to save mxArray to an Octave .mat file.
I created a mex function with c++ in Octave that reads binary files and populate the data to an mxArray. I would like to visualize these data with Octave. I would like to save the data in an Octave format or .mat format.
with Matlab, there are matOpen() to open a file, matClose() to close the file, and matPutVariable() to write the data to the file. what are the equivalent functions in Octave the these Matlab functions?