WineHQ

Matlab

No Screenshot

Submit Screenshot
­Matlab & Simulink version "R2007a Student", 7.4.0.278 in the about page

Application Details:

Version: 7.4.0
License: Retail
URL: http://www.mathworks.com/produ...
Votes: 0
Latest Rating: Silver
Latest Wine Version Tested: 0.9.49.

Maintainers: About Maintainership

No maintainers. Volunteer today!

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

  • running a windows installation

    • copy C:/Program Files/MATLAB into ~/.wine/drive_c/Program Files/

  • simple math in command window

  • displaying history and variables in sidebar

  • loading image from disk with imread, displaying with imshow

  • opening editor, saving m-file, running simple m-file

  • plotting

What does not

  • natively installing in wine from cd

  • displaying current directory in sidebar

Workarounds

What was not tested

  • most functions

  • simulink

  • other toolkits

  • anything not listed under 'working'

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Again, the cd installer aborted early, my wine "install" is copied form my windows partition -- this is all that keeps it from gold, in my opinion I needed to install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) for this to work. I used version 8.0.50727.762. Java 1.6 was also installed in wine, don't know if this was needed. I also set the serial number for drive_c to the value of the machine id (see your license file) in matlab using winecfg.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 7.04 "Feisty" i386 (+ variants like Kubuntu)Nov 30 20070.9.49.No Yes NoSilveran 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 : [email protected]. 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