How do I design/code a MATLAB GUI to display/ control an arduino resistor and diode tester

조회 수: 2 (최근 30일)
How do I design/code a MATLAB GUI to display/ control an arduino resistor and diode tester
I have the arduino code for resistor and diode tester individually, how do i incorperate this, so that the gui can select between either and then test, and then display the resistance for resistor tester and the diode forward voltage or possibly to an extent a VI characteristics curve graph.
Help will be greatly appreciated. thansks in advance

채택된 답변

Reshma Nerella
Reshma Nerella 2021년 12월 13일
Hi,
You can use App Designer to create an app(GUI) to interactly work with the UI Components like text field, image, button etc. and also to display outputs like plots etc.
In your case, you might need the following UI components,
  1. Switch - gui can select between either
  2. Edit field - display the resistance for resistor tester and the diode forward voltage
  3. UIAxes - VI characteristics curve graph.
You can also add callback functions, these execute when you interact with the UI Components in the app.
Here are few links that might help you to get started with the app.
  1. https://www.mathworks.com/help/matlab/ref/appdesigner.html?s_tid=doc_ta
  2. Creating a simple app
  3. Examples
  4. Callbacks in app designer

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by