| Contents | Index |
ext = mexext
extlist = mexext('all')
ext = mexext returns the file name extension for the current platform.
extlist = mexext('all') returns a struct with fields arch and ext describing MEX-file name extensions for all platforms.
For a table of file extensions, see Using Binary MEX-Files.
Find the MEX-file extension for the system you are currently working on:
ext = mexext ext = mexw32
Find the MEX-file extension for an Apple Macintosh system:
extlist = mexext('all');
for k=1:length(extlist)
if strcmp(extlist(k).arch, 'maci64')
disp(sprintf('Arch: %s Ext: %s', ...
extlist(k).arch, extlist(k).ext))
end, end
Arch: maci64 Ext: mexmaci64
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |