Error : Undefined variable "matlab" or class "matlab.hwmgr.internal.hwconnection.USBDeviceEnumerator" - Standalone application / ArduinoIO
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Julien Buteau
2019-10-15
1 个评论
ksol
2019-10-15
With the version 2019b you can create a standalone application:
Here you can find some informations:
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!