'name.bat' is not recognized as an internal or external command, operable program or batch file in matlab

hi when i am trying to run a stateflow model of name"test.mdl" i am getting an error
Making simulation target "test_sfun", ...
'test_sfun.bat' is not recognized as an internal or external command, operable program or batch file. i am using wndows 7 64 bit os and matlab R2012a
i installed windows sdk 7.1 also. please help me for this

 採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 6 月 1 日
Have you run "mex -setup" on your R2012a installation? I have run into a similar issue in the past, and running "mex -setup" fixed it for me.

6 件のコメント

naveen
naveen 2013 年 7 月 22 日
Hello,
Mex-Setup! where can I find this installation file. Please help me...
It's a MATLAB command. Just run "mex -setup" (without the quotes) at the MATLAB prompt.
Thank you very much.....its really rocking in my model.
Tnx it's very simple & helpful
rajab84 comments
Thanks for Simple solution
After I sent the question, I stumbled upon the same solution. Yes, mex -setup is what needs to be done to select the compiler which is what is needed to fix the problem. Thanks.

サインインしてコメントする。

その他の回答 (3 件)

Ali
Ali 2014 年 12 月 23 日
I had the same problem and the solution works. Thank you.
Bill Wu
Bill Wu 2014 年 12 月 25 日
Where can I find an appnote for ltedownlinkexample?

カテゴリ

ヘルプ センター および File Exchange で Decision Logic についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by