Episode 001 – Handling Matlab interrupts in Java

Matlab is a great tool for prototyping new ideas, running experiments and visualizing the results. And its native support for Java libraries quickly takes those ideas from prototype to production. However with a large enough Matlab and Java code base, eventually one problem always rears its head. There is effectively no way to terminate a long running or blocked Java method call! Just try to Ctrl-C out of a Java method from Matlab and see for yourself.

Continue reading “Episode 001 – Handling Matlab interrupts in Java”