MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   在32位或64位Matlab上运行? (https://www.labfans.com/bbs/showthread.php?t=22551)

poster 2019-12-07 23:17

在32位或64位Matlab上运行?
 
如何确定我运行的是32位还是64位的matlab版本?

我有一些预编译的mex文件,根据32/64位matlab,它们需要不同的路径。

回答:
接受ScottieT812和dwj的建议后,我发布了自己的解决方案以赚取一些积分。

功能computer返回我正在运行的体系结构。所以:

switch computer case 'GLNX86' display('32-bit stuff') case 'GLNXA64' display('64-bit stuff') otherwise display('Not supported') end 为我工作


所有时间均为北京时间。现在的时间是 23:19

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.