필터 지우기
필터 지우기

select a type of sensor giving input to it.

조회 수: 3 (최근 30일)
Rashi Mehrotra
Rashi Mehrotra 2021년 12월 6일
답변: prabhat kumar sharma 2024년 2월 14일
I am design an app. In this i have a drop down option and after I choose the drop down option a value for power will be selected for the input.
How can I do this. How can I input power with drop down menu choosing a type of process.
  댓글 수: 2
Walter Roberson
Walter Roberson 2021년 12월 6일
Are you using App Designer?
Rashi Mehrotra
Rashi Mehrotra 2021년 12월 10일
yes

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

답변 (1개)

prabhat kumar sharma
prabhat kumar sharma 2024년 2월 14일
Hi Rashi,
I understand that you want the power value to be selected from the dropdown menu. Therefore, I have created an application that includes a dropdown with several options and a textarea that displays the value chosen using the dropdown. To manage the process of assigning the dropdown's value to the textarea, I have added a callback function to the dropdown.
In short, you can follow the steps below to achieve the desired result:
  1. Add a Drop-Down Component
  2. Configure the Drop-Down Options
  3. Add a Text Area Component
  4. Create a Callback Function for the Drop-Down
  5. Write the Callback Function
  6. Run the App
I am also attaching a screenshot of my app for your reference.
I hope it helps to resolve your issue!

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by