App Designer - Arduino setup in standalone application

2 views (last 30 days)
Hi,
I am trying to monitor a temperature sensor in a standalone application (using app designer and MATLAB Compiler) with the help of an Arduino. This works great if I configure the Arduino in Matlab with code:
arduinosetup
'arduinosetup' requires MATLAB Support Package for Arduino Hardware.
However, this code does not work within the standalone application. So it is not possible to share the standalone application with someone who does not have MATLAB installed since the person cannot configure the Arduino. Is there a way to configure the Arduino without MATLAB so I can share the standalone application?
Thanks in advance!

Accepted Answer

Kevin Holly
Kevin Holly on 23 Jul 2022
Did you follow the instructions here: Create Standalone Applications for Arduino Hardware?
  4 Comments
Christian Hermann
Christian Hermann on 24 Jan 2023
Hello Manjunatha,
I have been trying to use the "ForceBuildOn" to true when connecting with a standalone app to an arduino which is not configured for the use with matlab. Sadly it doesnt work. Is there a workarround or another way to do that?
Thanks!
Manjunatha Vankadari Gopalakrishna
Hi Christian,
You can follow these steps,
1. Open MATLAB
2. Execute >> arduinosetup and follow the screens
3. In the MATLAB command window create an Arduino object
4. clear Arduino object
5. And then launch the standalone application.
If you are still not able to resolve it then, please contact our Technical Support for further assistance.
https://www.mathworks.com/support/contact_us.html
Thanks
Manjunatha

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!