[MATLAB] MATLAB R2018b 安装 mexopencv (VS 2017)
安裝過程噴錯
Error using mex
Unknown MEX argument '-R2017b-largeArrayDims'.
Error in mexopencv.make (line 97)
if ~opts.dryrun, eval(cmd); end
解決方法,去make.m的第275~281行,註解掉
% real/imaginary storage format for complex arrays
if ~mexopencv.isOctave() && ~verLessThan('matlab', '9.4')
% keep using the "separate complex storage", as opposed to the
% "interleaved complex storage" introduced in R2018a
% (see MX_HAS_INTERLEAVED_COMPLEX)
%mex_flags = ['-R2017b' mex_flags];
end
留言
張貼留言