Home > vbmeg > external > iso2mesh > getexeext.m

getexeext

PURPOSE ^

SYNOPSIS ^

function exesuff=getexeext()

DESCRIPTION ^

 exesuff=getexeext()

 get meshing external tool extension names for the current platform

 author: Qianqian Fang, <q.fang at neu.edu>

 output:
     exesuff: file extension for iso2mesh tool binaries

 -- this function is part of iso2mesh toolbox (http://iso2mesh.sf.net)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function exesuff=getexeext()
0002 %
0003 % exesuff=getexeext()
0004 %
0005 % get meshing external tool extension names for the current platform
0006 %
0007 % author: Qianqian Fang, <q.fang at neu.edu>
0008 %
0009 % output:
0010 %     exesuff: file extension for iso2mesh tool binaries
0011 %
0012 % -- this function is part of iso2mesh toolbox (http://iso2mesh.sf.net)
0013 %
0014 
0015 exesuff='.exe';
0016 if(isunix) 
0017     exesuff=['.',mexext];
0018 end
0019 if(isoctavemesh)
0020    if(~ispc)
0021       if(~ismac)
0022        if(isempty(regexp(computer,'86_64')))
0023           exesuff='.mexglx';
0024        else
0025               exesuff='.mexa64';
0026        end
0027       else
0028            if(isempty(regexp(computer,'86_64')))
0029               exesuff='.mexmaci';
0030            else
0031               exesuff='.mexmaci64';
0032            end
0033       end
0034    else
0035       exesuff='.exe';
0036    end
0037 end

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005