How to set up Compiler Configuration?
Show older comments
Hi, I have set Compiler configuration using mex - setup. But one of my automation script invokes MATLAB instance as if run by the "system". And the invoke fails because, the compiler configuration is not set for the "system". DO any of you have any idea how to do it?
P.S. Just to provide some clarity, running MATLAB by "system", does not open the MATLAB GUI. And hence I am not able to run the mex -setup.
Your time is hugely appreciated,
Accepted Answer
More Answers (1)
Titus Edelhofer
on 18 Dec 2014
Hi,
in this case invoke mex with the "-f" option: copy from your prefdir folder the mexopts.bat to where the source code is and in your call to mex do
mex -f mexopts.bat nameOfYourFile.c
Titus
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!