On Wed, 19 Aug 2020 at 05:37, Mohana wrote: > On Tue, Aug 18, 2020 at 9:28 PM Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: >> >> On Tue, 18 Aug 2020 at 16:33, Mohana <s18002@xxxxxxxxxxxxxxxxxxxxxxx> wrote: >> > >> > MATLAB can only work with GCC6.3.0 (https://in.mathworks.com/matlabcentral/answers/407502-incompatible-gcc-version-with-mex), >> >> That's idiotic. Have you considered using GNU Octave instead of MATLAB? > > > Actually I just need to run somebody else's code, so. Thanks a lot for helping through this though! :) Hopefully MATLAB will remove their idiotic restriction some day, so you can use supported versions of GCC.