You can read the data from the binary .sgfx file using fread
function in MATLAB and write it to a text (.txt) file using fprintf
function. Here's a sample script:
main.m480 chars22 lines
Note that you need to replace nRows
and nCols
with the actual number of rows and columns in the .sgfx file, respectively. Also, you may need to adjust the format of the data in the fprintf
function, depending on the desired text format.
gistlibby LogSnag