Make error because of MATLAB function block.

Hi all, I have a trouble with a MATLAB function block. I've edited nothing in that block, there is default code. Before MATLAB function block I have Constant block, after that Scope. If I click on play button I receive Make Error. Error sounds like: "The name specified is not recognized as an internal or external command, operable" Is it problem with my installed version of matab. I'd like to add that i have R2011a version.
best wishes.

 Réponse acceptée

Friedrich
Friedrich le 30 Avr 2012

0 votes

Hi,
run mex -setup to choose a supported installed compiler ( http://www.mathworks.com/support/compilers/R2011a/win32.html ). After that try again.

2 commentaires

jan
jan le 30 Avr 2012
Additionally i had to install SDK 7.1 for windows. It was hard, because there was a failure. To install it i had to uninstall Visual C++ 2010 SP1 Redistributable Package.
Friedrich
Friedrich le 30 Avr 2012
Yes, this is a Microsoft bug for which a fix is available:
http://www.microsoft.com/en-us/download/details.aspx?id=4422

Connectez-vous pour commenter.

Plus de réponses (1)

jan
jan le 30 Avr 2012

0 votes

Is that possible that is caused by my 64bit operating system ?

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by