Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] simulink error message (emergency question)

Status
Not open for further replies.

bidarmard

Junior Member level 2
Junior Member level 2
Joined
Aug 15, 2012
Messages
24
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,450
hello everybody

when I run an embedded project in matlab simulink the following error appears

Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds.
Use 'mex -setup' to select a supported compiler.

does anybody know what should I do?
I'll be grateful if you answer me as soon as possible.
thanks
pic1.jpg
 
Last edited:

Your Program may include the support of any external batch file "mexopts.bat" , that compiler unable to find try to find the code .. regards to that file used the command

system ('mexopts.bat');

that will workout with you i guess .. thats how i am able to run the batch file in MATLAB / Simulink
 
Did you update the Matlab program? most probably it is a compiler problem
Install a Matlab-compatible compiler and run the setup again.
 
Thanks every body finally I installed the matlab 8 version and I run it. I don't know why the last version of it is more better.
 

I've always found older versions of Matlab (like 7.1,7.5 and 8 too) helpful so I stick with the old, besides there's lot to learn in Matlab to be a master of it, learning in the older version is easier and less complex, however as you learn you can always update to a higher version.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top