Importing spice library to matlab simscape

when i am trying to convert spice file of mosfet to be used in simscape it generates the following error can anyone suggest me the method in resolving
Error using spiceSubckt/getFunctionCalls
Function dnlim unrecognized.
Error in spiceSubckt/loadSubckt
Error in spiceSubckt
Error in subcircuit2ssc
Error in subcircuit2ssc (line 31)
subcircuit2ssc(netlist,target);
Error in untitled (line 1)
subcircuit2ssc('C3M0016120D.cir','+mylibrary');
i am unable to attach the spice library file

1 Kommentar

Image Analyst
Image Analyst am 15 Feb. 2026
What are spiceSubckt and dnlim? Are those functions you wrote?
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Gefragt:

am 15 Feb. 2026

Kommentiert:

am 15 Feb. 2026

Community Treasure Hunt

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

Start Hunting!

Translated by