ncorr_2D_matlab icon indicating copy to clipboard operation
ncorr_2D_matlab copied to clipboard

Octave compatibility?

Open jpdeleon opened this issue 6 years ago • 2 comments

Can this theoretically work in Octave? This might be good to boost the utility of your program in the open software universe.

I tried to run this in Octave by following the manual, but I encountered errors.

handles_ncorr = ncorr; parse error near line 3356 of file /home/jerome/github/ncorr_2D_matlab/ncorr.m

syntax error

function [handle_name,outstate] = gui_sethandle(pos_parent)

jpdeleon avatar Jun 11 '18 00:06 jpdeleon

I haven't tested this in octave. However, some googling shows that any incompatibility between octave and matlab is a bug? So if it doesn't work with octave that must be an issue with octave itself.

Whats strange about that syntax error is it looks like completely standard and normal matlab code.. So I don't really know what the issue is there.

justinblaber avatar Jun 21 '18 00:06 justinblaber

There are differences between MATLAB and Octave. Similarly to C and C++, neither is a subset of the other. In my experience, porting complex MATLAB codes (especially including MEX functions and GUIs) to Octave is very painful.

CsatiZoltan avatar Jan 16 '20 12:01 CsatiZoltan