ncorr_2D_matlab
ncorr_2D_matlab copied to clipboard
Octave compatibility?
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)
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.
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.