Mex error cl : Command line error D8027 cannot execute c1.dll
9 views (last 30 days)
Show older comments
Good eveining, I am trying to execute the mathworks example for mex command running mex yprime.c but I keep on getting the error

Error using mex yprime.c cl : Command line error D8027 : cannot execute 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\c1.dll'
Do you have any ideas which is the problem? Thank you.
2 Comments
Jan
on 9 Oct 2017
It is not "c1", but "cl" (lowercase L). Please post the message as text. The screenshot seems to be cut off on the right side.
Did you install the compiler properly? Did the compilation work before?
Accepted Answer
Jan
on 10 Oct 2017
You will find many instruction how to install the SDK 7.1 under Windows 10, if you search in the forum:
The large number of related threads shows, that the problem is not trivial. But e.g. https://www.mathworks.com/matlabcentral/answers/101105-how-do-i-install-microsoft-windows-sdk-7-1 should contain all required steps.
0 Comments
More Answers (0)
See Also
Categories
Find more on Troubleshooting in MATLAB Compiler SDK 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!

