matlab - Set a text field to 2 values -


i'm trying set text field 2 different values

value1 *new line* value 2 

this current solution

set(handles.text1,'string',a); set(handles.text1,'string',fs); 

it textfield fs, ignoring a. how can post both values? thank you

you can use format text field have 2 values have described. set(handles.text1,'string',sprintf('%-s\n%-s',a,fs))


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -