Further to this, is there any way to pass the COM port, board and arduino IDE path programmatically rather than using the "Configure Arduino" dialog? https://uk.mathworks.com/help/supportpkg/arduinoio/ug/create-standalone-applications-for-arduino-hardware-from-matlab-programs.html
Error in compiled standalone application using Arduino Support Package
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, I have written an R2021a mlapp standalone application that I have compiled and installed on Windows 10 using the installer produced by compiler.package.installer.
This includes the arduino hardware support package for matlab (https://uk.mathworks.com/help/releases/R2021a/supportpkg/arduinoio/ug/create-standalone-applications-for-arduino-hardware-from-matlab-programs.html)
On connecting to the arduino via
a = arduino();
I get the error:
The path "C:\Users\USERNAME\AppData\Local\Temp\USERNAME\mcrCache9.10\ProjectName1\" is not a valid message catalog resource path
and the arduino does not connect. Can anyone help?
One thing I suspect is that this relates to the requirement to have the Arduino IDE installed for standalone applications that use the arduino support package. It's not clear to me from the documentation how to configure the path to the IDE.
Thanks in advance.
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!