MATLAB: Is there a function to tell whether the installed matlab is 32 bit or 64 bit

32/64 bit

Is there a MATLAB function to tell whether the installed MATLAB is 32 bit or 64 bit? The National Instruments NI488 package needs a different .dll loaded, depending on which version of MATLAB is installed.

Best Answer

mexext returns differently for the two.