Error when running inbuild example of Simulink (R2013a) Supercapacitor Model
Show older comments
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.
Do you know where this error comes from and what can I do to run the example?
7 Comments
Kaustubha Govind
on 5 Aug 2013
Please try running "mex -setup" and select an installed compiler - this usually fixes the error. (You must allow the utility to automatically list the supported, installed compilers for you, if it can't locate any, be sure to install a supported compiler, restart MATLAB and try again)
Giorgos Papakonstantinou
on 5 Aug 2013
ZINEB
on 6 Jan 2014
please, how to use rapid accelerator simulation ?
Walter Roberson
on 8 Feb 2014
ZINEB, I recommend that you open a new Question for this.
Ishwari
on 17 Mar 2014
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
on 27 Mar 2014
Answers (1)
Praveen Kumar
on 19 Feb 2017
0 votes
- Try running "mex -setup", select appropriate compiler and restart Matlab and try simulating the same.
- If it doesnt detect any compilers, please download appropriate one ( supported compilers ), then install and restart Matlab.
This worked for me.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!