How to set the DPI of Java Swing apps on Windows/Linux?

I’m currently investigating this issue on Windows. Here’s what I found: Most Swing Look & Feels don’t support high DPI at all, not even Nimbus even though it’s supposed to be scalable. I found some old blog posts saying that Nimbus might eventually offer high DPI scaling, but apparently that never happened. The one exception … Read more

Call Python function from MATLAB

I had a similar requirement on my system and this was my solution: In MATLAB there is a function called perl.m, which allows you to call perl scripts from MATLAB. Depending on which version you are using it will be located somewhere like C:\Program Files\MATLAB\R2008a\toolbox\matlab\general\perl.m Create a copy called python.m, a quick search and replace … Read more