Error using:mtimesx_build.m
이전 댓글 표시
Hi everyone
I am very interested in using mtimesx , but I am new to compiling. When I Run mtimex_build.m, I get the following error:
>>Error using: mtimesx_build (line 446)
Unable to compile mtimesx.c
Can anybody help me? Thank you and best wishes,
댓글 수: 4
Walter Roberson
2019년 1월 14일
Did you successfully
mex -v -setup C
?
zb li
2019년 1월 14일
Walter Roberson
2019년 1월 14일
mtimesx needs to setup C, not C++
Bruno Luong
2019년 1월 14일
편집: Bruno Luong
2019년 1월 14일
I believe setup C++/C actually can be used with the same command
mex -setup C++
답변 (1개)
Bruno Luong
2019년 1월 14일
편집: Bruno Luong
2019년 1월 14일
If you run recent MATLAB you also must change the line #166 of mtimex_build.m to
mexopts = [prefdir '\mex_C_win64.xml'];
댓글 수: 8
Bruno Luong
2019년 1월 14일
Please comment the lines 386 (try) and 436-465 (catch block) run mtimex_build and copy the full error message here.
zb li
2019년 1월 15일
Bruno Luong
2019년 1월 15일
Please tell us the output of
>> mex -setup C
then create a breat point at #428 of mtimex_build.m run it and the output of
>> xname
>> cname
>> largearraydims
>> compiler
before error occurs
Bruno Luong
2019년 1월 15일
Can you change the line #421 to
if( 1 || isempty(xname) )
Then rerun the code mtimex_build?
zb li
2019년 1월 16일
zb li
2019년 1월 16일
Bruno Luong
2019년 1월 16일
K>> xname
xname =
D:\Google Driver\Matalb code\mtimesx_20110223\mtimesx_mexopts.bat
That's odd. Normally this file is no longer used by MTIMESX V 20110223
And I told you to change the line #166 so this file won't be read.
Not sure why it's still read.
Please rename mtimesx_mexopts.bat or delete to make sure it be inglored by mtimesx_build
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!