Error: Unable to locate 'mexopts.bat'
Show older comments
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.
Accepted Answer
More Answers (2)
sandeep d
on 15 Jul 2015
0 votes
i am also getting this same error.please help me
Jesse Lee
on 13 Sep 2020
0 votes
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
Categories
Find more on Geographic Plots 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!