Create a 3*m matrix in app designer

조회 수: 1 (최근 30일)
Gaetano Pavone
Gaetano Pavone 2020년 3월 20일
답변: Harsha Priya Daggubati 2020년 3월 23일
I would like to define an editable 3*m matrix in app designer programmatically defined by users.
Once defined the parameter m in an editable field (numeric), the app automatically generates an editable 3*m matrix.
How can I do this?
I don't know how it is possible to define an editable matrix with predefined size.
  댓글 수: 2
Rik
Rik 2020년 3월 20일
If you know that last part, what exactly is your issue? It shouldn't be too difficult to have a callback that would use that method to create a matrix with the size your user supplies.
Gaetano Pavone
Gaetano Pavone 2020년 3월 20일
편집: Gaetano Pavone 2020년 3월 20일
I have edited my question...I don't know how can I do that.

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

채택된 답변

Harsha Priya Daggubati
Harsha Priya Daggubati 2020년 3월 23일
Hi,
I can comeup with the following workflow for your question:
  1. In the callback of the editfield, you can create a table of size 3*m with editable property set.
  2. Since the table is editable, user can therefore edit the fields.
  3. You can create an apply button, and in its callback you can read the table data.
These documentation pages might help you work with tables:
Hope this will work for you!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by