Programmatically determining platforms on MATLAB and Python

MATLAB Python
OS (32-bit or 64-bit) computer(‘arch’) platform.machine().endswith(’64’)
Engine (32-bit or 64-bit) mexext() platform.architecture()[0].startswith(’64’);
OS Type (Broad) ismac/isunix/ispc or computer() platform.system()

17 total views, 2 views today

Leave a Reply

avatar
  Subscribe  
Notify of