MATLAB: How to get display the result in a table GUI matlab

table gui matlab

I am student in chemical Engineering, I am using MATLAB to solve eight differential equations describing nitrogen transformation. and I used GUI, i have a trouble to display nitrogen dynamic result in a table GUI. i want after i click the pushbutton, i get the result in a table.
So How can I get MATLAB to created a table that shows the concentrations of each transformation nitrogen??
I'm new in GUI matlab and would appreciate some help to do this.

Best Answer

table_handle = uitable('Position', ..... );
table_as_cell = num2cell(YourMatrix);
set(table_handle, 'Data', table_as_cell);