23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Resolving “Out of Memory” Errors<br />

Windows 2000<br />

Follow the steps shown here:<br />

1 Right-click the My Computer icon, and select Properties.<br />

2 Select the Advanced tab and click the Performance Options button.<br />

3 Click the Change button to change the amount of virtual memory.<br />

Windows XP<br />

Follow the steps shown here:<br />

1 Right-click the My Computer icon, and select Properties.<br />

2 In the System Properties GUI, select the Advanced tab. In the section<br />

labeled Performance, clicktheSettings button.<br />

3 In the Performance Options GUI, click Advanced. Inthesectionlabeled<br />

Virtual Memory, clicktheChange button<br />

4 In the Virtual Memory GUI, under Paging file size for selected drive,<br />

you can change the amount of virtual memory.<br />

Freeing Up System Resources on Windows Systems<br />

There are no functions implemented to manipulate the way <strong>MATLAB</strong> handles<br />

Microsoft Windows system resources. Windows uses system resources to<br />

track fonts, windows, and screen objects. Resources can be depleted by using<br />

multiple figure windows, multiple fonts, or several UI controls. One way<br />

to free up system resources is to close all inactive windows. Windows icons<br />

still use resources.<br />

Reloading Variables on UNIX Systems<br />

On UNIX systems, <strong>MATLAB</strong> does not return memory to the operating<br />

system even after variables have been cleared. This is due to the manner in<br />

which UNIX manages memory. UNIX does not accept memory back from a<br />

program until the program has terminated. So, the amount of memory used<br />

in a <strong>MATLAB</strong> session is not returned to the operating system until you exit<br />

<strong>MATLAB</strong>.<br />

11-23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!