sic mosfet SPICE models.lib file into Simulink using subcircuit2ssc
4 views (last 30 days)
Show older comments
Hello,
I am attempting to import SiC mosfet spice models into Simulink using 'subcircuit2ssc',
however following errors are shown:
-----------------------------
Delimiters must occur in pairs in G12 d1 s1 value { (if value(d3.v-s1.v,'V')>=0,
(cjo/(1+simscape.function.powerRational(simscape.function.limitm(value(d3.v-s1.v,'V'), 0, 458, smoothN, smoothEpsilon)/vj, m, dropPowerFlag,
dropPowerHypEpsilon, aWarning)))*der(value(d3.v-s1.v,'V')).
error: spiceBase/stripArguments
error: spiceBase.stripEnclosedArguments
error: spiceBase.parseSpiceString
error: spiceVCCS
error: spiceSubckt/getElements
error: spiceSubckt/loadSubckt
------------------------------
Any suggestions to make it work?
Thank you.
1 Comment
Fan Yingpeng
on 22 Sep 2023
I encountered a similar problem with importing C3M0075120J.lib to Simscape. Do you have a solution now?
Answers (1)
Joel Van Sickel
on 3 Oct 2023
Edited: Joel Van Sickel
on 3 Oct 2023
Wolfspeed specifically provides LTspice models which use a proprietary interface that is not always compatible with base SPICE. In this case, these models are using proprietary features only useable by LTSPICE that we cannot import into third party software.
2 Comments
SUHANYA M S
on 8 Sep 2025
Can we import PSpice models to SImulink?
I'm trying to import a specific device "IMBG65R072M1H_L0" from a PSpice .lib file (unable to attach here) to Simulink, where I can use it as part of simulations in a larger system. I do not need to see the characteristics of the device.
Which one must be used - ee.spice.semiconductorSubcircuit2lookup or subcircuit2ssc..?
I really didn't understand how to do it.
Please help. Thanks.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!