Errors when using ssc_build – Invalid use of node voltage in custom Simscape component
이전 댓글 표시
Hello everyone,
I am trying to generate a Simulink library from custom Simscape components using ssc_build, but I am encountering compilation errors.
Context
I am converting a SPICE GaN FET model (EPC device) into a Simscape component and building the library with:
ssc_build EPCGaNLibrary
The library generation fails with the following error:
Generating Simulink library 'EPCGaNLibrary_lib' in the current directory
'C:\Users\PC\Desktop\LLC\Simulink_LLC\Article_2\EPCGaNLibrary' ...
Error using ssc_build
Failed to generate 'EPCGaNLibrary_lib'
Error in spice_to_ssc (line 5)
ssc_build EPCGaNLibrary
Caused by:
Invalid use of value 'drain.v'. All entities referenced in this expression must be valid parameters.
• In EPCGaNLibrary.EPC2071 (line 157)
• In EPCGaNLibrary.EPC2071 (line 152)
Thank you in advance for your help.

Best regards,
Souhail
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Choose and Parameterize Blocks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!