Can't find MEXOPTS.BAT file

18 Ansichten (letzte 30 Tage)
Sapio L
Sapio L am 26 Okt. 2015
Bearbeitet: Thorsten am 26 Okt. 2015
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.

Antworten (1)

Thorsten
Thorsten am 26 Okt. 2015
It is located in
[matlabroot filesep 'bin']
Note that it is called mexopts.sh on MacOS and Linux.
  2 Kommentare
Sapio L
Sapio L am 26 Okt. 2015
Unfortunately, there is no such file there.
Thorsten
Thorsten am 26 Okt. 2015
Bearbeitet: Thorsten am 26 Okt. 2015
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/

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by