https://bugs.winehq.org/show_bug.cgi?id=37026
--- Comment #3 from Rounak Singh rounaksingh17@gmail.com --- Thanks to @Ivan for the patch, and @Nikolay... the patch is working... I have tested the patched code; compiled code with wine 1.7.28 and run Matlab 2010 in Linux Mint 13 environment... Matlab is working fine... (However, Simulink is showing error on unimplemented function msvcr80.dll._ungetc_nolock, I am going to file a new bug(& mail Ivan) for that...
I have uploaded the forked code on github for further testing: https://github.com/rounaksingh/wine...
Compile and enjoy... Once again Thanks to @Ivan and @Nikolay...