How do display the contents of array using app designer

I am doing some digital modulations and I need to display a array of random ones and zeros on screen, but I have no idea how to do it. I have tried with "mat2str" but I get only "true false false false....".
g=rand(1,20)>.3 %array random
f=randi([1,10],1,1); %Frec. random
app.frec.Value = f
app.vec.Value = g <=======================

Categories

Products

Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!