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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -