SPICE To Subsystem diagram
4 views (last 30 days)
Show older comments
Is it possible to convert SPICE model into Simscape equivelent components? For example, in SPICE model there are resistors, capactiors, that would be converted into Simscape equivelent resistors and capacitors.
We have a SPICE model of a circuit board and we want the whole circuit board to be converted into Simscape circuit diagram, not a single block.
subcircuit2ssc converts .cir file into .ssc file.
ssc_build converts .ssc into .slx,
which contains only a single Simscape block, which is not what we need. We need whole circuit board in individual components from a single SPICE file.
0 Comments
Accepted Answer
David John
on 16 Jan 2020
The subcircuit2ssc functionality is intended to translate a textual circuit representation (from a SPICE netlist) to a textual representation (in a Simscape file), so it will not perform the sort of graphical conversion that you are after. The subcircuit2ssc will create one Simscape block for every ".SUBCKT" in your netlist, so you could place .SUBCKT and .ENDS around each part of your circuit that you want to put into a separate Simscape component.
0 Comments
More Answers (0)
See Also
Categories
Find more on Choose and Parameterize Blocks 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!