WineHQ

Matlab

Application Details:

Version: 7.2
License:
URL: http://www.mathworks.com/produ...
Votes: 0
Latest Rating: Gold
Latest Wine Version Tested: 1.9.21

Maintainers: About Maintainership

No maintainers. Volunteer today!

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Full version of MATLAB 2006 for Windows. Java GUI included (_without_ -nojvm).

There has to exist a previously installed MATLAB in a windows partition (mine is VISTA, should work as XP).

The new Java Runtime Environment Version 5.0 Update 6 for windows (jre-1_5_0_06-windows-i586-p.exe) must be downloaded from: http://www.java.com/en/download/windows_manual.jsp.

JRE must be installed either in windows or through wine.

Then the jre folder in matlab (../Program Files/MATLAB/R2006a/sys/java/jre/win32/jre) directory must replaced by the newly generated jre1.5.0_06 in ../Program Files/Java/.

After that the ../Program Files/MATLAB/R2006a/sys/java/jre/win32/jre.cfg file must be edited to contain a single line withe: 1.5.0_06

After that, MATLAB 2006a will be fully functional (as far as know). You can either use the windows installed version or copy the whole MATLAB folder to ~/.wine/drive_c/Program Files/ (that way you won't need the windows partition anymore)






What does not

Installation through wine. (However, an installed copy of MATLAB can be copied to .wine/drive_c/Program Files/ and be also fully functional).

'Unable to initialize mwswing package' is displayed with no aparent effect in graphical performance.

MATLAB cannot be added as an application through winecfg. (The whole path must be when calling MATLAB).


Workarounds

What was not tested

Performance test between the MATLAB running from a NTFS partition vs. ext3, ext2 partition.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Startup messages: fixme:win:EnumDisplayDevicesW ((null),0,0xd0a774,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),1,0xd0a774,0x00000000), stub! fixme:system:SystemParametersInfoW Unimplemented action: 8202 (SPI_GETFONTSMOOTHINGTYPE) fixme:system:SystemParametersInfoW Unimplemented action: 8204 (SPI_GETFONTSMOOTHINGCONTRAST) fixme:font:WineEngCreateFontInstance Untranslated charset 255 Unable to initialize mwswing package fixme:imm:ImmGetOpenStatus (0xc97a360): semi-stub fixme:imm:ImmSetConversionStatus (0xc97a360, 1, 0): stub fixme:imm:ImmGetDefaultIMEWnd (0x20026 - (nil) 0x18d1f8 ): semi-stub fixme:imm:ImmGetOpenStatus (0xc96c760): semi-stub fixme:imm:ImmSetConversionStatus (0xc96c760, 1, 0): stub fixme:imm:ImmGetDefaultIMEWnd (0x1002c - 0x10036 0x18d1f8 ): semi-stub To get started, select MATLAB Help or Demos from the Help menu.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 16.04 "Xenial" i386 (+ variants like Kubuntu)Oct 21 20161.9.21Yes Yes Goldan anonymous user 
ShowUbuntu 6.10 "Edgy" i386 (+ variants like Kubuntu)Jan 07 20070.9.27.N/A Yes Bronzean anonymous user 
ShowUbuntu 6.06 "Dapper" i386 (+ variants like Kubuntu)Oct 31 20060.9.24.N/A Yes Goldan anonymous user 
ShowFedora Core 5Aug 28 20060.9.19.No Yes Silveran anonymous user 
ShowFedora Core 5Aug 26 20060.9.19.N/A Yes Goldan anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

How to run Simulink or Display Help content or overcome Bug#37381 by overriding msvcr80.dll

Hi,

If you are trying to run Matlab Simulink in wine1.7, you may find that Matlab will crash with exception(Bug#37381). Since, the bug is notified, it can take sometime to fix it. Till then, u can run Matlab Simulink by overriding msvcr80.dll.

Steps to override: (Assuming you have installed wine1.7.29 or higher, and Matlab)

1. Close Matlab, if opened. Go to winecfg by menu or typing command "winecfg" in terminal. A Dialog box will open.

2. Go to "library" tab. You will see options for "dll overrides".

3. From "New override for library", select msvcr80.dll, and click on "Add". Now, you can see the dll in list. The dll should be mentioned on the list like "msvcr80 (native, built-in)". If all is good then finally click on "OK".

4. You are now good to go. Start Matlab. It should work fine.

I am using Matlab with above mentioned override, Simulink is working fine.

Good Luck. Enjoy!!!

If having doubt about procedure, you can email me : rounaksingh17@gmail.com. May be we can solve the problem.


How to change startup folder in Matlab??

Hi,

When using Matlab with wine1.7, it might be possible that you will end up with /home/ or some other folder as your startup folder. Well, I am not sure what is it-- a bug or what. After changing the path in Preference, it sometimes does not open the initial working directory.

However, I have found a way around to this. Now, you can write a "startup.m" (one line script) and save it to (Matlab_ROOT)/toolbox/local/ . This .m file is automatically executed by Matlab whenever it starts.

Inside "startup.m", you need to add a command which is

cd 'C:\(Your Startup folder path)'

like I have written

cd 'C:\Matlab programs\'

  • Please use single inverted comma, if the filepath has space in between.
  • Use Matlab editor to write the command so that you can be sure that the file path is correct (as Matlab editor will show error using color fonts.

Have fun !!!

If having any trouble, please comment...

Comments

Comments Disabled

Comments for this application have been disabled because there are no maintainers.
Back