MATLAB: Put a missed data in a cell

cell arraysMATLAB

Hi,
I have a program which it's output is 22*22 cell. It took a long time to run. Now, I saw that in one struct and one variables there is a missed matrix. I can run the program for this specific day but if i can put the result in its place in that cell struct or not?
how is it possible to put new run in the same mat file?
Thank you in advance.

Best Answer

If you build the cell content, there's no reason shouldn't be able to just assign it to the cell array where it belongs.
Then just rewrite the new variable to .mat file.
Of course, save a copy of the present file as backup first just in case you have a slip of the fingers...
Related Question