且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 32 位或 64 位 matlab 上运行?

更新时间:2023-09-30 13:26:40

根据 ScottieT812 和 dwj 的建议,我发布了我自己的解决方案以获得一些积分.

Taking up on ScottieT812 and dwj suggestions, I post my own solution to earn some points.

函数 computer 返回我正在运行的架构.所以:

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

对我有用