MATLAB: Does MATLAB give the error “Could not create on-disk crash report: bad open” when trying to start on Mac OS X

MATLAB

When trying to start MATLAB it bounces in the dock and then gives the following error (in Console):
Could not create on-disk crash report: bad open
------------------------------------------------------------------------
std::terminate() detected at Tue Sep 20 12:42:31 2011
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Current Visual : None
Default Encoding: ISO-8859-1
MATLAB License : XXXX
MATLAB Root : /Applications/MATLAB_RXXXXapp
MATLAB Version : XXXX
Operating System: Darwin 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
Processor ID : x86 Family 6 Model 10 Stepping 7, GenuineIntel
Virtual Machine : Java 1.6.0_26-b03-384-10M3425 with Apple Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : No active display
Fault Count: 1%

Best Answer

MATLAB will not start if you do not have appropriate permissions on your Home folder. This issue sometimes occurs when moving files over from one Mac to another.
To resolve the issue, you will need to repair the permissions on your Home Folder.
1. In the Menu Bar, at the top of your screen, click Go, then select Home.
2. In the top left, go to File > Get Info.
3. Here click on the gray triangle next to "Sharing & Permissions" if this is not already expanded.
4. Add yourself as the folder owner by clicking on the plus sign, +, at the bottom left (You might have to unlock the lock to the right of that plus sign).
5. Select your own user account from the list by clicking on it and click on the "Select" button. After, your name should appear in the list under "Name" at the very top next to the person icon.
6. Make sure in the permissions column that you have "Read and Write" access. If you do not, change this by clicking on the arrows to the left of it and selecting "Read and Write".
Once you have ownership of your home folder and read and write permissions on it, you should be able to start MATLAB.