Make sure that the data format that you are using is compliant with MatPower. 
Take a look at how the MatPower data files are written and create your data 
file accordingly.

Shri

On Jul 23, 2013, at 8:23 AM, angelina sirri <angelina...@msn.com> wrote:

> 
> This error appears because  you are trying to access the 9th column but from 
> the information in size(branch) it seems that you only have 7 columns in the 
> branch matrix so you cannot access a column that does not exist. 
> Hope this helps.
> Angelina
> Date: Tue, 23 Jul 2013 16:18:43 +0100
> Subject: out of bound
> From: iman.mail...@gmail.com
> To: matpowe...@list.cornell.edu
> 
> Dear All,
> I am trying to run OPF for a case.
> I receive this error:
> 
> Attempted to access branch(:,9); index out of bounds because 
> size(branch)=[30,7].
> 
> Those good with coding in Matlab ,could you give me some hints where could I 
> have made a mistake?
> Thank you

Reply via email to