Does anyone know of an efficient method of porting the capacitance matrix into a SPICE file? Specifically, I'd be interested in simulating a number of different configurations and taking the capacitances from each iteration as parameters in a separate SPICE simulation. Currently, I am copying the capacitances by hand into my netlist.
The most powerful way is to use the FastCap2 automation capabilities to generate a piece of netlist automatically.
I suggest you to start looking at the examples in the 'samples' directory. It should be easy to modify a script to output the netlist portion containing the capacitances (you could also create a sub-circuit, if that's the case