Dear Shri, Thank you for your kind information. Best Regards, On Tue, Jul 10, 2012 at 12:06 PM, Shri <[email protected]> wrote:
> You need to include the MatPower directory in the MATLAB search path. Look > at http://www.mathworks.com/help/techdoc/ref/path.html for info on how to > set Matlab's search path. It's always handy to include all such paths in a > startup.m file (saved in the Matlab startup folder) to avoid the pain of > typing the path every time. > > Shri > > ------------------------------ > > Dear discossion grouop, > I have a problem with Mathpower. when I want run CPF test for getting the > result, following Error pops up. > > > .??? Undefined function or variable 'idx_bus'. > > Error in ==> cpf at 47 > [PQ, PV, REF, NONE, BUS_I, BUS_TYPE, PD, QD, GS, BS, BUS_AREA, VM, ... > > Error in ==> test_cpf at 41 > [max_lambda, predicted_list, corrected_list, combined_list, success, et] = > cpf(casename, loadvarloc, sigmaForLambda, sigmaForVoltage); > > > > Do you know what should I do? > > Best Regards, > *Mehran Khosravi fard* > > > -- *Mehran Khosravi fard*
