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

조회 수: 1 (최근 30일)
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.

답변 (1개)

Walter Roberson
Walter Roberson 2019년 4월 23일
name = {handles.First_editbox.String, handles.Second_editbox.String, ...}
  댓글 수: 7

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by