The MagTense code is directly available from the MagTense repository on Github
MagTense consists of both a magnetostatic and a micromagnetism calculation framework. Both are fully implemented in Fortran and has a Matlab MEX interface, as well as python interface.
MagTense is directly useable in Matlab by downloading the already compiled MEX-files from Github with no compilation required.
MagTense supports both Intel MKL, CUDA and CVODE.