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

4 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Walter Roberson
Walter Roberson le 16 Mai 2016
mexext returns differently for the two.
  1 commentaire
Paul McKenzie
Paul McKenzie le 16 Mai 2016
Thanks! That's a better solution than: [x,y]=computer;log2(y), which returns 31 for a 32 bit install and 48 for a 64 bit install

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by