Error : Undefined variable "matlab" or class "matlab.hwmgr.internal.hwconnection.USBDeviceEnumerator" - Standalone application / ArduinoIO
Show older comments
Hi,
I'm trying to compile a very simple standalone app with Matlab2017a that connect to an Arduino using the Matlab ArduinoIO support package. The code is the following:
a = arduino
In Matlab it works perfectly and connect to my Arduino UNO. When compiled I've got the following error message:
Undefined variable "matlab" or class "matlab.hwmgr.internal.hwconnection".
Is the Matlab compiler working with ArduinoIO? Did I missed a file inclusion?
Thank you,
Julien
Accepted Answer
More Answers (1)
Julien Buteau
on 15 Oct 2019
1 Comment
ksol
on 15 Oct 2019
With the version 2019b you can create a standalone application:
Here you can find some informations:
Categories
Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!