Hi Shri Many thanks for your answer.
The thing is that I am running the same code in three different computer due to all of them have different characteristic such as speed processor, RAM, etc. The code is exactly the same, and just in two of the computer run without any inconvenient, however unfortunately I cannot run the code in the fastest computer due to the error previously described. In addition all of them have Matlab version R2013a (8.1.0.604). The Matpower commands are the following: opt = mpoption('VERBOSE',0,'OUT_ALL',1,'OPF_ALG_DC', 200); [results,success]=runopf(celll{ry,1},opt); Thanks, Carlos 2015-01-19 19:59 GMT+00:00 Abhyankar, Shrirang G. <abhy...@mcs.anl.gov>: > I am not sure what's going on here as I don't have MATLAB R2013a. But, > from the error, it looks like dynamic fields are not being able to be > created for matlab objects. Are you sure nothing's changed in the MATPOWER > code? Can you please send the MATPOWER command(s) you executed that lead to > this error. > > Shri > > From: Carlos Cruzat Hermosilla <ccruz...@gmail.com> > Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu> > Date: Mon, 19 Jan 2015 10:23:30 +0000 > To: MATPOWER discussion forum <matpowe...@list.cornell.edu> > Cc: "MATPOWER-L@cornell.edu" <MATPOWER-L@cornell.edu> > Subject: Re: PF Does not run > > It is R2013a > > 2015-01-18 3:09 GMT+00:00 Abhyankar, Shrirang G. <abhy...@mcs.anl.gov>: > >> What's its Matlab version? >> >> On Jan 17, 2015, at 5:46 PM, "Carlos Cruzat Hermosilla" < >> ccruz...@gmail.com> wrote: >> >> Hi All >> >> I am trying to run my power flow in a different computer and I got the >> attached error . I am pretty sure that it is nothing to do with the code, >> due to this run perfectly in my computer, so could anybody help me to solve >> this problem? >> >> Thanks, >> >> Carlos >> >> >> Adding new fields to an object is not permitted. >> >> Error in opf_model/userdata (line 46) >> om.userdata.(name) = val; >> >> Error in opf_setup (line 227) >> om = userdata(om, 'Bf', Bf); >> >> Error in opf (line 219) >> om = opf_setup(mpc, mpopt); >> >> Error in runopf (line 96) >> [r, success] = opf(casedata, mpopt); >> >> Error in rundcopf (line 94) >> [varargout{1:nargout}] = runopf(casedata, mpopt, >> fname, solvedcase); >> >> Error in Simulation_Two (line 223) >> [results,success]=rundcopf(celll{ry,1},opt); >> %rundcopf(celll{ry,1},opt); >> >> >