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()

Loading

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments