MATLAB: Matrix Manipulation in Simulink

matrix manipulationsimulinktable manipulation

Anyone here know how to edit data in a matlab 2D array (table).
I created a table using the xlsread command but now i want to write a function that can edit that array. I want to do this in simulink but can't seem to find a block that can do this.

Best Answer

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.