Where can I get the MATLAB compiler options file (compopts.bat)?

Can't find compopts.bat (the MATLAB compiler options file) in neither my User directory nor the MATLAB bin directory.

Can I ask MATLAB to regen it ? If I can't, where can I get the content to copy-paste in a new .bat that I would create?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can get the location of compopts.bat. if you type prefdir in MATLAB command window.

This file is created automatically when you run mbuild -setup to configure MATLAB compiler.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PC_LOAD_LETTERAuthor Commented:
It is not in the prefdir directory.

Does MATLAB generate the file even if no compilers are present ?

If so I believe the problem is I did not select  "X64 Compilers and Tools" when installing Microsoft Visual Studio 2008.

(I'm using MATLAB R2009a 7.8 64-bit on windows 7 x64)

I will update after reinstalling
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

You have to run mbuild -setup to generate this file. Have you done that. MATLAB will not do it automatically. When you run mbuild, MATLAB will show you list of compilers installed on your system, that MATLAB compiler can use.
See the second link I posted in my first comment.
PC_LOAD_LETTERAuthor Commented:
You where right yuk99!
The problem was I kept saying "yes" when asked to "locate installed compilers", though the correct answer was "no".
The question could be made clearer though.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.