Error when running inbuild example of Simulink (R2013a) Supercapacitor Model

1 回表示 (過去 30 日間)
Giorgos Papakonstantinou
Giorgos Papakonstantinou 2013 年 8 月 5 日
回答済み: Praveen Kumar 2017 年 2 月 19 日
I am using Matlab version (R2013a). The simulink of this version contains an example with the name Supercapacitor Model. When I am trying to run the example I get in the matlab command window the following error:
Making simulation target "spsSupercapacitor_sfun", ...
'spsSupercapacitor_sfun.bat' is not recognized as an internal or external command,
operable program or batch file.
I also get an error in simulink. You can see the error in the following link
Do you know where this error comes from and what can I do to run the example?
  7 件のコメント
Ishwari
Ishwari 2014 年 3 月 17 日
I have the the same error similar to that of Chan. I have installed the Microsoft Window SDK 7.1 supercapacitor model produces error. Could you help me resolve the same?
Giorgos Papakonstantinou
Giorgos Papakonstantinou 2014 年 3 月 27 日
Did you run "mex -setup"?

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

回答 (1 件)

Praveen Kumar
Praveen Kumar 2017 年 2 月 19 日
  1. Try running "mex -setup", select appropriate compiler and restart Matlab and try simulating the same.
  2. If it doesnt detect any compilers, please download appropriate one ( supported compilers ), then install and restart Matlab.
This worked for me.

カテゴリ

Help Center および File ExchangeIntroduction 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