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

2 views (last 30 days)
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

Accepted Answer

Reshma Nerella
Reshma Nerella on 13 Dec 2021
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

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!