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.

 採用された回答

Friedrich
Friedrich 2012 年 4 月 30 日

0 投票

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

2 件のコメント

jan
jan 2012 年 4 月 30 日
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 2012 年 4 月 30 日
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 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

jan
2012 年 4 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by