MatLab: figure window always on top (front)

When there is keyboard input, the command window of MatLab will gain focus and all its figure windows will be hiden back. How to make a figure window always on top? I use setWindowOnTop.m downloaded from http://webscripts.softpedia.com/script/Develop
Xu Cui
9 sec read

typecast in MatLab to convert data type

We need to get real-time neural signal from Hitachi’s ETG4000. Hitachi provides a MatLab script “RealtimeOT” to get data from a parallel port and convert the binary data to float. Here is what they did: fp=fopen('temp',�
Xu Cui
26 sec read

code highlighter

The code highlighter used in this blog is SyntaxHighlighter Plus. It’s quite easy to set it up. (1) download and unzip to wp-content/plugins (2) activate it. Note: css style for SyntaxHighlighter is shlfiles/SyntaxHighlighter.css under this plu
Xu Cui
26 sec read

Life is learning

/** * Life is learning * So, */ while(alive) { learn; }
Xu Cui
2 sec read