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

4 views (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 16 May 2016
mexext returns differently for the two.
  1 Comment
Paul McKenzie
Paul McKenzie on 16 May 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

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!