Category Archives: Memory

16 relevant articles found:

Blocked wait with timeout for asynchronous events

It is easy to convert asynchronous (streaming) events into a blocked wait in Matlab.

Categories: Java, Listeners, Low risk of breaking in future versions, Memory
Tags: ,
Leave a comment

Quirks with parfor vs. for

Parallelizing loops with Matlab’s parfor might generate unexpected results. Users beware!

Categories: Guest bloggers, Medium risk of breaking in future versions, Memory, Stock Matlab function, Undocumented feature
Tags: , , , ,
7 Comments

General-use object copy

Matlab’s dual internal serialization/deserialization functions can be used to create duplicates of any object.

Categories: High risk of breaking in future versions, Memory, Undocumented feature, Undocumented function
Tags: , , , ,
15 Comments

New book: Accelerating MATLAB Performance

Accelerating MATLAB Performance (ISBN 9781482211290) is a book dedicated to improving Matlab performance (speed).

Categories: GUI, Low risk of breaking in future versions, Memory, Stock Matlab function, Toolbox
Tags: ,
Leave a comment

Allocation performance take 2

The clear function has some non-trivial effects on Matlab performance.

Categories: Low risk of breaking in future versions, Memory, Undocumented feature
Tags: , , ,
6 Comments

File deletion memory leaks, performance

Matlab’s delete function leaks memory and is also slower than the equivalent Java function.

Categories: Java, Low risk of breaking in future versions, Memory, Stock Matlab function
Tags: ,
7 Comments

The Java import directive

The import function can be used to clarify Java code used in Matlab.

Categories: Java, Low risk of breaking in future versions, Memory
Tags: ,
Leave a comment

Internal Matlab memory optimizations

Copy-on-write and in-place data manipulations are very useful Matlab performance improvement techniques.

Categories: Low risk of breaking in future versions, Memory, Stock Matlab function
Tags: , , ,
7 Comments

Array resizing performance

Several alternatives are explored for dynamic array growth performance in Matlab loops.

Categories: Low risk of breaking in future versions, Memory, Stock Matlab function, Undocumented feature
Tags: , , , ,
7 Comments

Preallocation performance

Preallocation is a standard Matlab speedup technique. Still, it has several undocumented aspects.

Categories: Low risk of breaking in future versions, Memory, Stock Matlab function, Undocumented feature
Tags: , , , ,
30 Comments