From: Richard on 5 May 2010 10:45 Hi, when I retrieve my data from my cell array some object properties have changed and I cant figure out why. I'm storing arrays of objects in my cell array as follows where x is a loop index mycell(x,:)={objArray1 objArray2 objArray3 obj4 obj5 integerVall}; on each iteration a row of the cell array is populated I later extract my objects as... [objAr1 objAr2 objAr3 ob4 ob5 intv]=mycell{x,:}; I'm finding that some properties appear to have changed?? Can I extract objects from a cell array as I've done here, by assigning them to variables, or do I need to 'construct new objects and then assign the contents of the cell array to newly constructed object instances
From: ImageAnalyst on 5 May 2010 11:30 I don't know why they'd change if you didn't explicitly change them. Anyway, did you try the function "deal()"? Maybe that will work for you.
|
Pages: 1 Prev: Online Parameter Estimation with Extended Kalman Filter Next: simulink : modelling of nodes |