Unable to install mrsim toolbox

I went to this site that tells me how to use it : http://www2.isr.uc.pt/~micaelcouceiro/media/help/helpMRSim.htm
It tells me to type 'mex laser5.c' but the following error occurs:
No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2012a/win64.html
Error using mex (line 206) Unable to complete successfully.
What do I do??

Answers (1)

Talluri - given the error message, this is probably the first time that you have tried to build a MEX file. Typically you would need to run
mex -setup
to select an appropriate compiler for (in your case) the C programming language. The message
No supported SDK or compiler was found on this computer.
is telling you that that MATLAB cannot find a suitable compiler to use. If you go the link http://www.mathworks.com/support/compilers/R2012a/win64.html, you will need to download a suitable compiler. Your best option is probably Microsoft Windows SDK 7.1.

2 Comments

I did what you asked. I downloaded and installed Microsoft Windows SDK 7.1. Now when I try the " mex laser5.c " a new error occurs:
LINK : fatal error LNK1104: cannot open file 'laser5.mexw64'
C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: Link of 'laser5.mexw64' failed.
Please paste the command that you are running in the Command Window, as well as all text that appears thereafter due to the mex function being called.
Did you run mex -setup and see that the Microsoft Windows SDK 7.1 has been selected as your C compiler?

This question is closed.

Tags

Asked:

on 9 Nov 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!