This is an example of how you can use App Designer tool to build program to control any hardware over supported protocol (i.e. serial).
HOW TO GET
Execute in MATLAB:
App Designer has visual instrumentation components (knobs, swithes, etc.) so it allows you to build interactive apps for instrument control.
The submission contains a scheme of Arduino based simple device with RGB LED and photoelectric cell. Simulink program for Arduino is provided (requires Arduino Support Package).
With interactive program you can control the RGB LED color and observe illuminance level over the serial connection.
Instrument Control Toolbox is required for optional features.
Also there is a describing video (on Rissian, for old version):
* Please note that app versions for old releases aren't maintained and are presented just for legacy *
Pavel Roslovets (2021). App Designer: Instrument Control over Serial (Arduino) (https://github.com/ETMC-Exponenta/LEDControlApp), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Toolbox Extender
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!