MATLAB: Display array in GUI after pressing button

arraydisplayguistringtext;

I have a GUI set up so that when I click the button, it displays an array in the workspace. How can I use a text box in my GUI to display this array when I click the button? The array I'm using is composed of several strings if that would change anything. Thanks!

Best Answer

Hi,
Don't use a textbox.
use uitable, this way you can put any kind of data : numeric, string, logical,.. see the documentation