Ivanlh20 / multem

MULTEM is a powerful and advanced collection of C++ routines with CUDA support, designed to perform efficient and accurate multislice simulations for various TEM experiments such as HRTEM, STEM, ISTEM, ED, PED, CBED, ADF-TEM, ABF-HC, EFTEM, and EELS.
GNU General Public License v3.0
65 stars 26 forks source link

Modified mex interface to be backwards compatible with at least R2015… #17

Closed apryor6 closed 7 years ago

apryor6 commented 7 years ago

…b, possibly earlier versions

-- Added addpath calls to the top of "compile_mex_multem.m" to automatically do the path adding that is required for installation -- Removed lines containing "c_exportsmexfileversion.map" from "mex_CUDA_glnxa64.xml". These caused errors on compilation with MATLAB earlier than 2017a as this file does not exist, and it appears to be purely for metadata. Without these lines, the mex files compile on older MATLAB versions and still run correctly