Thanks for the useless answers.
I figured it out, there are two ways to edit a table. You can use embedded matlab function like this:
function y = WriteToArray(u,row,column,replacement); %#eml; u(row,column) = replacement; y = u;
or you can simply use the Assignment Block.