Simscape Customized Component Library
2 views (last 30 days)
Show older comments
Hello,
I am working on a project where we have to model a microgrid. I have to model every component used in the model by customizing the library. I want to build my own component library, instead of using the standard library available in SimPower Systems. For this purpose I am using the Simscape language to build the library.
I followed the procedure given in the Simscape Language Guide, but while executing the command ssc_build(which is the command to build custom library), I get the following error message.
>> ssc_build MyThreePhaseSystem
Warning: When running 'ssc_build' from within a MATLAB package directory, there is no need to provide the package name
'MyThreePhaseSystem' as it is automatically derived from the MATLAB package directory.
Generating Simulink library 'MyThreePhaseSystem_lib' in the MATLAB package parent directory 'C:\Program Files\Matlab\R2012a\toolbox\physmod\simscape\library\m' ...
No supported SDK or compiler was found on this computer.
For a list of supported compilers, see
http://www.mathworks.com/support/compilers/R2012a/win64.html
Failed to generate 'MyThreePhaseSystem_lib'
Caused by:
Error using mex (line 206)
Unable to complete successfully.
I have downloaded the compiler and installed it in my laptop. I am using the Matlab-Student Version installed Windows 8-64-bit processor , I would like to know if I have to use any other version of Matlab other than student version and also if this is not compatible on Windows 8 platform.
Please help me in fixing this problem.
Thank you, Arti Gurunathan
0 Comments
Answers (1)
Sean de Wolski
on 19 Sep 2013
Run:
>>mex -setup
To set up the compiler.
2 Comments
Sean de Wolski
on 24 Sep 2013
You need to download the SDK from Microsoft and I believe you need to install the .net 4 framework first. At least you used to have to.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!