Simscape Customized Component Library
显示 更早的评论
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
回答(1 个)
Sean de Wolski
2013-9-19
Run:
>>mex -setup
To set up the compiler.
2 个评论
Arti
2013-9-24
Sean de Wolski
2013-9-24
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!