Monthly Archives: June 2014

Matlab R2014a Fortran MEX on Ubuntu 14.04

Test: 0) in terminal: cp /usr/local/MATLAB/R2014a/extern/examples/refbook/* /tmp/ 1) in matlab: mex -setup FORTRAN 2) in matlab: >> mex /tmp/timestwo.F Building with ‘gfortran’. MEX completed successfully 3) in matlab: timestwo(3) ans = 6.0

HDF5 in Labview 2013

There is steady development of the h5labview package, allowing use of many common HDF5 read/write features from Matlab. 0) install VI package manager 1) download and install the latest SHARED HDF5 library from http://www.hdfgroup.org/HDF5/release/obtain5.html#obtain get the appropriate operating system and 32 or 64 bits according to your Labview install 32/64 bits, not the OS. 2) […]

Matplotlib in Cygwin 64-bit for Python 3 and Python 2.7

It is pretty simple to install matplotlib for Python 3 and Python 2.7 in Cygwin. prereqs: pkg-config ghostscript libfreetype-devel libpng-devel python-gtk2.0 libgtk2.0-devel gcc-g++ git Procedure: git clone git://github.com/matplotlib/matplotlib.git cd matplotlib python setup.py install or for python 3, do: python3 setup.py install result: $ python Python 2.7.5 (default, Oct 2 2013, 22:34:09) [GCC 4.8.1] on cygwin […]

Restarting Unity desktop in Ubuntu

If your desktop seems to freeze for more than a few seconds, trying pressing together the keys Ctrl Alt F1 and then login with your username and password, and type unity & disown This will leave your desktop/apps all as they were while fixing the broken state. To just restart the whole Unity desktop (which […]

Updating BIOS in Gigabyte GA-Q87M-D2H to handle Haswell Refresh processor

This otherwise great motherboard is currently (June 2014) shipping with the F6 BIOS, which means the system acts almost completely dead if you have a Haswell Refresh (e.g. i7-4790) CPU installed. To make things more fun, my motherboard was NOT Qflash enabled, and I certainly don’t have Windows, so my only option was DOS flashing. […]

SpectraVue 3.3 on WINE Linux

NOTE: As of Wine 1.7, there still was not USB support for ANY devices without some substantial hacking work. This process is just to test Spectravue processing recorded data files. SpectraVue 3.30 and newer changed to using Visual Studio 2010. As a result, you will need to install: winetricks vcrun2010 then you will be able […]