ContentFull

Matlab and Snow Leopard Compatability

August 28th, 2009

Matlab has been trying to catchup OSX for some time now. First releasing a rather bad version of Matlab for the Intel processor, and subsequently releasing a 64bit version. Both showed signs of commitment, however, today after installing Snow Leopard I was slightly annoyed that some of the functionality had become broken.

mmreader, which I depend on for reading avi movie files no longer works. Images seem to be garbled by some sort of offset and data conversion. I suspect this stems from some 32 to 64 bit conversion that Matlab is not aware of. Anyway, so now I can’t read movies files until they fix Matlab which god knows when it will be.

Update for those thinking of installing Snow Leopard: 2008a, 2009a, 2009b (32 and 64 bit) all work fine. Aside from some bugs that must exist like the one above in specific packages, the general Matlab environment is fully functional.

Category: Programming

Comments

  1. Magnus wrote...

    Hi. I’m running Snow Leopard and Matlab 2009a, and I am having some problems activating it. Did you have any problems installing/activating your Matlab install? And if you did, how did you fix that anoying activation bug?

    ... on August 31, 2009

  2. Magnus wrote...

    Hi aggain. I manage to fix this after a lot of tinkering. If you get an “unexpected error .. null .. Se logfile /var….) Then it seems that the activation program cant write to the Matlab package. To fix this you have to go to http://www.mathworks.com and activate your license manually. Follow the steps on the web page and get the License key and license file. Now install the program using the manual (not connected to internet) mode and paste your License Key there. After install you have to manually put the License file in the license directory for your Matlab installation. This is easy. Go to your Applications-folder and ctrl click the Matlab 2009a icon. Click “Show Package Contents” and go into the folder “licenses”. Now take your downloaded “license.dat” -file and move it here. And thats it. Your done.
    Hope this will help someone else who has had problems with this.

    ... on August 31, 2009

  3. Phil B wrote...

    I also found a solution from another website which worked for me (I didn’t try this one I’m afraid). Open your Java Preferences (Spotlight–>Java Pref) and drag the default mode to 32-bit. When I then tried the activation again, it worked fine, no problems.

    ... on October 6, 2009

  4. Ken Atwell (MathWorks) wrote...

    Andre –

    There is a patch for the mmreader problem you ran into:

    http://www.mathworks.com/support/bugreports/search_results?search_executed=1&keyword=576529&release_filter=Exists+in&release=168&selected_products=&commit=Search

    ... on October 20, 2009

  5. Priya wrote...

    @Phil..that was straight forward to do. I had the same problem and your solution to change the Java to 32 bit worked! Thanks

    ... on December 3, 2009

  6. Elric wrote...

    Thanks Magnus, your comment helped me get Matlab 2009a working.

    ... on December 7, 2009

Leave a comment