运行在32位或64位MATLAB? [英] Running on 32 or 64 bit matlab?
本文介绍了运行在32位或64位MATLAB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何确定我在一个32位或MATLAB的64位版本上运行?
How can I determine if I'm running on a 32bit or a 64bit version of matlab?
我有一些pre-编译MEX-文件,这需要根据不同的路径对32位/ 64位MATLAB。
I have some pre-compiled mex-files which need different path's depending on 32/64bit matlab.
推荐答案
就任ScottieT812和DWJ建议,我发表我自己的解决方案,以赚取一些积分。
Taking up on ScottieT812 and dwj suggestions, I post my own solution to earn some points.
功能电脑
返回我运行的平台架构。因此:
The function computer
returns the architecture I'm running on. so:
switch computer
case 'GLNX86'
display('32-bit stuff')
case 'GLNXA64'
display('64-bit stuff')
otherwise
display('Not supported')
end
我的作品
这篇关于运行在32位或64位MATLAB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文