Error using the subcircuit2ssc function to import a Spice model into Simulink

5 views (last 30 days)
Hello everyone. I am trying to convert a Spice file (attached) to Simulink using the functions:
subcircuit2ssc('UJ4SC075005L8S.CIR', '+LibreriaCEIT');
ssc_build LibreriaCEIT;
However, when running the script, the following error occurs:
>> Script_Pspice_to_Simulink
Error using spiceBase/getConnectionString
All external nodes must be connected in XCGD.
Error in spiceSubckt/getSimscapeText
Error in spiceSubckt/preparSimscapeFile
Error in spiceSubckt/preparSimscapeFile
Error in subcircuit2ssc
Error in subcircuit2ssc (line 31)
subcircuit2ssc(netlist, target);
Error in Script_Pspice_to_Simulink (line 1)
subcircuit2ssc('UJ4SC075005L8S.CIR', '+LibreriaCEIT');
I've seen similar cases in this community, but I can't detect the incompatibilities to convert the file to Simulink. If anyone can give me a hint, I would appreciate it.
Greetings and thank you very much,
Ignacio

Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!