subcircuit2ssc "Index exceeds the number of array elements" error
Ältere Kommentare anzeigen
Hello MatLab experts!
I'm working on a SimScape project requiring the import of some PSpice devices, and one in particular is giving me an issue. The TI LMG3422R030 has an avaliable PSpice model avaliable here: https://www.ti.com/product/LMG3422R030#design-development##design-tools-simulation
It's a .lib file, not a .cir, but it is still just a subcircuit file. I'm trying to just test out the conversion functionality right now, so I ran the command:
>> subcircuit2ssc('lmg3422R030.lib','+mylibrary');
It then throws the error:
Index exceeds the number of array elements (0).
Error in spiceSubckt/getElements
Error in spiceSubckt/loadSubckt
Error in spiceSubckt
Error in subcircuit2ssc
Error in subcircuit2ssc (line 31)
subcircuit2ssc(netlist,target);
My initial thought is that it's just a rather complex model and is overwhelming something in the subcircuit2ssc script, but my limited knowledge here is preventing me from figuring out for sure.
Any thoughts on this one, or other steps I can try before getting deeper into the model itself?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Design and Simulate SerDes Systems finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!