Monthly Archives: March 2014

Matlab readtable(): fixing reading numeric data as text

Matlab’s readtable() function as of R2014a cannot be manually told the spreadsheet column data format. The ‘Format’ ‘%s %f’ option ONLY applies to text files as of R2014a. To help fix a problem where you have a spreadsheet (.xls, .ods) where an all-numeric column is being read as text in cells, highlight that entire column, […]

Matlab R2013b/R2014a: BLAS loading error

Matlab R2013b has a known bug where you get the error: Error using * BLAS loading error: dlopen: cannot load any more object with static TLS This is noted in Mathworks Bug 961964, where it’s noted that the problem exists in R2012b, R2013a, R2013b, and R2014a. I have only noticed this error in R2013b and […]

Libreoffice Calc cannot turn off AutoInput

When using Calc to store text data, it is very annoying to have Calc “autocorrect” your text. For example, it is impossible to have the first two letters capitalized when the third letter is lowercase. Unchecking Tools – Cell Contents – AutoInput did not correct this behavior in Libreoffice Neither did setting Format Cell […]

Installing Matlab R2014a Student Version R2014aSV on Linux

A new “feature” of the R2014aSV licensing is that it’s now locked to your Linux username, which you must specify at install time. Since you’re installing Matlab as root, the default username will be “root”, which you must change to your linux username, else you’ll always have to run matlab as root, which is undesireable. […]

rsync to EXFAT drive

When syncing with the usual rsync Linux options: rsync -av –progress –stats /source/a/ /dest/a to an EXFAT drive, you’ll get errors like: rsync: mkstemp … failed: Function not implemented (38) because EXFAT doesn’t understand permissons, owners, or groups. So let’s pick out the options from -a that aren’t friendly with EXFAT. rsync -vrltD –progress –stats […]

Z38xx Jackson Labs GPS under Linux & WINE

Once you’ve identified which serial port your GPS is on, let’s say /dev/ttyS1, in Terminal type: ln -s /dev/ttyS1 ~/.wine/dosdevices/com1 Now start Z38XX.EXE and you should be working.

Working with Serial ports in Linux

1) add yourself to the “dialout” group so that you don’t need to use sudo to access serial ports (one-time) sudo adduser yourlogin dialout then logout and login 2) list the active serial ports sudo apt-get install setserial setserial -g /dev/ttyS* | grep -v unknown 3) Use putty to work with serial ports (can also […]

Cygwin Imagemagick error about missing arial.ttf

In ImageMagick under Cygwin, when using the -annotate option to put text into images, you may get the error: montage: unable to read font `/usr/share/fonts/TTF/arial.ttf’ @ error/annotate.c/RenderFreetype/1120. To fix: In Cygwin, type: mkdir /usr/share/fonts/TTF ln -s /cygdrive/c/Windows/Fonts/arial.ttf /usr/share/fonts/TTF/