MOSFET SPICE models .lib file into Simulink using subcircuit2ssc
22 views (last 30 days)
Show older comments
Hello,
I am attempting to import the 1200 V Infineon device models into Matlab Simulink using 'subcircuit2ssc', however when I attempt to in Matlab I get the error:
"Subcircuit delimiters is not in expected format.
Error in spiceSubckt
Error in subcircuit2ssc"
I have changed the numbers such as MEGA to 1e9 etc and ** to ^ to match Matlab use but still get the same errors. Any suggestions on other sections of the .lib to change in order to make it work?
The original model code is attached.
0 Comments
Accepted Answer
David John
on 16 Dec 2021
Most likely this is because you have nested subcircuits. In particular, there is:
.ENDS TO263_7_11_HVM_1G75_1S500_100MHz_parlel
.ENDS TO263_7_11_HVM_1G75_1S500_100MHz
Please try getting rid of the nesting. This can be achieved by cutting the line:
.ENDS TO263_7_11_HVM_1G75_1S500_100MHz
and pasting it just above the line
.SUBCKT TO263_7_11_HVM_1G75_1S500_100MHz_half 1 2 3 4 5 6 7 8
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!