Error using:mtimesx_build.m
6 views (last 30 days)
Show older comments
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 Comments
Bruno Luong
on 14 Jan 2019
Edited: Bruno Luong
on 14 Jan 2019
I believe setup C++/C actually can be used with the same command
mex -setup C++
Answers (1)
Bruno Luong
on 14 Jan 2019
Edited: Bruno Luong
on 14 Jan 2019
If you run recent MATLAB you also must change the line #166 of mtimex_build.m to
mexopts = [prefdir '\mex_C_win64.xml'];
8 Comments
Bruno Luong
on 16 Jan 2019
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
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!