06-03-2008 03:18 PM
06-04-2008 03:48 PM
06-04-2008 07:34 PM
06-05-2008 09:19 AM
Hi Juan,
OK, I got it running in LV... first thing you need to try... you cannot call DoACSweep and also RunSimulation... they conflict with each other... DoACSweep by itself is running a simulation already... so discard the RunSimulation step you have in your code...
RunSimulation is equivalent to a Transient Analysis. So you are trying to do a Transient while doing an AC Analysis. If you were looking into doing that you would have to wait for the first analysis to finish (SimulationState) and then call the second analysis.
So, start by getting rid of RunSimulation and see how that goes.
06-05-2008 12:33 PM
06-05-2008 01:02 PM
I'm sorry, I don't know Matlab programming so I was not aware that % is a comment...
Where exactly do you get the error then?... are you doing some debugging with breakpoints and step by step to learn where this happens? are you declaring the variable result to be a double array...
06-05-2008 03:06 PM
06-05-2008 03:18 PM
06-05-2008 03:53 PM
06-09-2008 01:19 PM