sic mosfet SPICE models.lib file into Simulink using subcircuit2ssc

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

I encountered a similar problem with importing C3M0075120J.lib to Simscape. Do you have a solution now?

Sign in to comment.

Answers (1)

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

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.

Sign in to comment.

Asked:

on 20 Jan 2022

Commented:

on 8 Sep 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!