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

4 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 16 Mai 2016
mexext returns differently for the two.
  1 Kommentar
Paul McKenzie
Paul McKenzie am 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by