Can't find MEXOPTS.BAT file

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.

Réponses (1)

Thorsten
Thorsten le 26 Oct 2015

0 votes

It is located in
[matlabroot filesep 'bin']
Note that it is called mexopts.sh on MacOS and Linux.

2 commentaires

Sapio L
Sapio L le 26 Oct 2015
Unfortunately, there is no such file there.
Thorsten
Thorsten le 26 Oct 2015
Modifié(e) : Thorsten le 26 Oct 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/

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Question posée :

le 26 Oct 2015

Modifié(e) :

le 26 Oct 2015

Community Treasure Hunt

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

Start Hunting!

Translated by