0

I have a simulink model created with Matlab 2013, which was working fine in the rapid accelerator mode on Debian 7 machine. However, after an update to Debian 8 (and Matlab 2013) the simulation fails with a compilation warning and an error:

Warning:

matlab Warning: You are using gcc version 4.9.2  The version currently supported with MEX is 4.4.x.          For a list of currently supported compilers see:...

Fatal error:

matlab 2013 /usr/bin/ld: cannot find -lstdc++collect2: error: ld returned 1 exit statusmex: link of ' "TestModel_sfun.mexa64"' failed.gmake Error 1

A related post is here, which is also a failure at the link step. However the solution, which for me is to install the package libstdc++-4.8-dev did not help, so something else seems to be missing.

Community
  • 1
  • 1
kabZX
  • 137
  • 3

1 Answers1

0

Solution: install the build-essential package. Turns out a colleague had the same problem earlier.

kabZX
  • 137
  • 3