MATLAB 7 under WINE
When I tried WINE many years ago, there were not that many large applications that could actually run smoothly without some sort of hacks.But when I gave it another try the other day, I was totally impressed by its abilities to run Windows applications natively under Linux. In fact, most Windows applications, as long as they use standard Windows API’s, could almost run directly under WINE without any modifications or tweaks (support for Microsft’s latest products however is quite limited as newer API’s might not have been implemented under WINE yet).
To use MATLAB 7 under WINE, all one has to do is to copy the harddrive serial number over into ~/.wine/drive_c/.windoes-serial. Here I assume that MATLAB has already been installed under Windows C drive.
The serial number is the disk serial number detected during MATLAB’s installation and can be found under [MATLAB root folder]/bin/win32/license.dat. The value after HOSTID=DISK_SERIAL_NUM= is the serial number.
After setting the disk serial number, MATLAB should be able to be invoked from the shell:
wine /windows/C/MATLAB701/bin/win32/MATLAB.exe
Here is a screen shot of MATLAB 7 running under Suse 10.3 (Gome):

And if the serial number is set incorrectly, the following message will be received instead:

Just a heads up that there is a Linux/Unix/OSX version of MatLab 7 and later versions
is “.windoes-serial” a text file where we put the serial number inside or a directory we need to put license.dat ? would you explain it more detail?
thanks
It should reside in the equivalent of “C” drive (e.g. ~/.wine/drive_c).
Thanks a lot. Worked fine. Just one thing, I think you meant the name of the file to be “windows-serial” and not “windoes-serial”.
Spent far too long looking for this bit of info, got Matlab running for me!
Unfortunately, now that it runs it runs horribly broken: 3/4 of the display starts out black, inactive or buggy controls, bad path, jvm won’t shut up… I’m guessing its just another case of amd64 being a complete and utter failure.