Home > functions > common > utility > vb_mex_compile_utility.m

vb_mex_compile_utility

PURPOSE ^

Compile utility MEX function

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Compile utility MEX function

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Compile utility MEX function
0002 %
0003 % Copyright (C) 2011, ATR All Rights Reserved.
0004 % License : New BSD License(see VBMEG_LICENSE.txt)
0005 current = pwd;
0006 p = vb_get_file_parts(which('vb_repadd.c'));
0007 cd(p);
0008 try
0009 mex -v vb_repadd.c
0010 mex -v vb_repmultiply.c
0011 if ispc
0012     mex vb_CalcMD5.c
0013 else
0014     mex CC=g++ vb_CalcMD5.c
0015 end
0016 catch
0017 end
0018 cd(current);

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005