Can't find MEXOPTS.BAT file
Show older comments
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.
Answers (1)
Thorsten
on 26 Oct 2015
It is located in
[matlabroot filesep 'bin']
Note that it is called mexopts.sh on MacOS and Linux.
2 Comments
Sapio L
on 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/
Categories
Find more on MATLAB Compiler 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!