MATLAB: Is it possible to start multiple MATLAB sessions on a Mac OS X in MATLAB 7.7 (R2008b)

instanceleopardmacintoshMATLABnewruntiger

If MATLAB is already open and I double-click on its icon in my Applications folder, it does not create a new session and simply activates the existing one.

Best Answer

This enhancement has been incorporated in Release 2012a (R2012a). For previous product releases, read below for any possible workarounds:
Starting with MATLAB R2012a, this capability is included in the MATLAB Dock Menu. From the MATLAB Dock Menu, it is possible to select the option "Open Additional Instance of MATLAB".
For previous versions of MATLAB, read below:
In MATLAB 7.7 (R2008b), the MATLAB icon in the Applications folder is a .APP file (and not a folder as in previous versions) and double-clicking this file will start a new MATLAB session only when there is no MATLAB session already running.
To work around the behavior, you can create an alias to the UNIX executable MATLAB file found in the "bin" folder of the MATLAB root directory. The steps to achieve the above are provided below:
1. Right-click on the MATLAB application found in the Applications folder and select "Open Package Contents".
2. Then navigate to the "bin" folder. Right-click on the UNIX executable file (named "MATLAB") and select "Make Alias". This creates the shortcut in the current directory.
3. Additionally, you may move this newly created Alias file to a location of your choice.
4. You may also change the icon of this Alias file to the standard MATLAB icon with the following steps:
a. Select the MATLAB icon found in the Applications folder and select File > Get Info.
b. In the palette which opened, select the MATLAB icon found in the top-left corner of the palette.
c. Select Edit > Copy
d. Select the Alias file and select File > Get Info.
e. In the palette which opened, select the Alias icon found in the top-left corner of the palette.
f. Select Edit > Paste
5. To have terminal windows close when the command is complete, follow the below steps:
a. Go to Terminal -> Preferences..
b. Select Settings
c. Select Shell
d. Change the dropdown labeled "When the shell exits:" to the value "Close if the shell exited cleanly"