Code covered by the BSD License  

Highlights from
ICC_mex_tools

image thumbnail

ICC_mex_tools

by

 

09 Nov 2012 (Updated )

These tools provide a simple interface to Intel C++ compiler optimization features.

mex_default_debug(config)
function mex_default_debug(config)
%MEX_VS2010_DEBUG uses default compiler with debug option

% here's a tutorial on how to debug cpp code in matlab:
% http://www.mathworks.co.uk/help/matlab/matlab_external/debugging-c-c-language-mex-files.html

clc
clear mex

mex(...
        config.cpp_file,...
        '-outdir', config.outdir,...
        '-g',...                        Debug mode
        '-largeArrayDims',...           64-bit indexing
        '-v'...                         Verbose mode
    );
end

Contact us