Can't find MEXOPTS.BAT file

9 次查看(过去 30 天)
Sapio L
Sapio L 2015-10-26
编辑: Thorsten 2015-10-26
Hi everybody,
I try to follow installation steps in this link below and run any .cpp file in a directory.
http://xanthippi.ceid.upatras.gr/people/evangelidis/matlab_opencv/
I run command mex-setup C++ and get "finish successfully" message.
However, can't find and edit MEXOPTS.BAT file in a corresponding directory.

回答(1 个)

Thorsten
Thorsten 2015-10-26
It is located in
[matlabroot filesep 'bin']
Note that it is called mexopts.sh on MacOS and Linux.
  2 个评论
Sapio L
Sapio L 2015-10-26
Unfortunately, there is no such file there.
Thorsten
Thorsten 2015-10-26
编辑:Thorsten 2015-10-26
Try
mex -v yourfile.c
and look for the output after
-> mexopts.sh sourced from directory (DIR = $PREF_DIR)
For me it is located in myhomedir/.matlab/mymatlabrelease/

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by