Error using the subcircuit2ssc function to import a Spice model into Simulink
5 views (last 30 days)
Show older comments
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
1 Comment
Saurabh
on 19 Dec 2024
I guess similar issue has been acknowledged in one of the MATLAB Answer thread:
Answers (0)
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!