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.

 采纳的回答

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

2 个评论

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.
Yes, this is a Microsoft bug for which a fix is available:
http://www.microsoft.com/en-us/download/details.aspx?id=4422

请先登录,再进行评论。

更多回答(1 个)

jan
jan 2012-4-30
Is that possible that is caused by my 64bit operating system ?

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by