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

5 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Walter Roberson
Walter Roberson il 16 Mag 2016
mexext returns differently for the two.
  1 Commento
Paul McKenzie
Paul McKenzie il 16 Mag 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by