I am trying to make a matlab script to do some optimization to my circuits. Since I only have technology files for Spectre, I use Spectre in command line to run the simulations, and invoke ocean functions to get the results (which seems to be the only way to get simulation results by command line?). Then my program can do some adjustments to the circuit parameters based on these results, and send the new circuit for simulations, and so on. Hundreds of simulations need to be run. Now the problem is, for each simulation I have to invoke Ocean once, which is very time-consuming (it needs almost the same time as invoking cadence itself). Is there any way to avoid this and speed up my optimization process? Thanks! Tao