How to assign multiple inputs from the same edit text box in MATLAB GUI into a cell array variable?

1 Ansicht (letzte 30 Tage)
Hello. My goal is to create a cell array variable from the inputs of the edit text box. For example,
name={'first input' ; 'second input' ; ...}
Is this possible or should I try a different approach on creating that cell array variable? If it's the latter, can you help explain that? Thank you.

Antworten (1)

Walter Roberson
Walter Roberson am 23 Apr. 2019
name = {handles.First_editbox.String, handles.Second_editbox.String, ...}
  7 Kommentare

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by