Error: Unable to locate 'mexopts.bat'
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
satendra kumar
le 11 Sep 2012
Réponse apportée : Jesse Lee
le 13 Sep 2020
I am trying to simulate the file in the following link-
But i am getting a error message "Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler." Please somebody suggest some solution of it.
0 commentaires
Réponse acceptée
Matt Fig
le 11 Sep 2012
I would suggest you follow the advice of the error message! Type this at the command line:
mex -setup
4 commentaires
mohamed fathalla
le 13 Mai 2013
Modifié(e) : mohamed fathalla
le 13 Mai 2013
hi all
i use (mex -setup)
- the output is :
Select a compiler:
[0] None
Compiler:
i enter number 1
the output is
Please select from 0-0
Compiler:
i enter 0 the output is
mex: No compiler selected. No action taken.
i need help
Kaustubha Govind
le 13 Mai 2013
You need to install a supported compiler if you don't have one already. Look at the last column on this page against your MATLAB version: http://www.mathworks.com/support/sysreq/previous_releases.html
Plus de réponses (2)
Jesse Lee
le 13 Sep 2020
I got the same question,"Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds.
And I try to enter 'mex -setup' the output is :
Unknown encoding 'cp65001' at D:\Program Files\MATLAB\R2010b\bin\/mexutils.pm line 154
??? Error using ==> mex at 208
Unable to complete successfully.
PS: my version is 2010b. And actually, I've already installed the compiler, which I can see on 2020a
0 commentaires
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!