Matlab - Ece
Personal tools

Matlab

From Ece

Jump to: navigation, search

Matlab is used throughout the ECE curriculum and research areas.

Contents

Installation problems

Matlab Hangs When Starting

We have seen this problem with Matlab v2007a on Windows XP or earlier. It appears that the application is trying to use an initialization directory that doesn't exist. To fix, open the file $MATLAB\toolbox\local\userpath.m (where $MATLAB is the R2007a root folder) with a text editor.

Replace line 13 and 16 that has:

rc p] = dos('startdir $documents\MATLAB -a');

with an actual directory such as C:\MATLAB\R2007a\work

rc p] = dos('startdir C:\MATLAB\R2007a\work');

Matlab's Splash Screen Terminates Quickly

We first experienced this with Matlab v2007b on Windows Vista. Matlab is trying to reserve too much address space during the Java VM initialization. As a workaround, open the Control Panel -> System -> Advanced system settings -> Advanced tab -> Environment Variables. Under System variables, select New and create MATLAB_RESERVE_LO and set the value to 0. Save the changes and reboot.

Credit goes to:

https://www.eleceng.adelaide.edu.au/cgi-bin/perldesk/kb.cgi?action=read;id=55;lang=en

Matlab Terminates with "Application Failed to Initialize Properly (0xc00000005)"

Edit the shortcut for the application and change the target to:

"C:\Program Files\MATLAB\R2008a\bin\matlab.exe" -shield none

Link: Matlab Support Article