MATLAB app unable to find or open specified path for toolbox

2 次查看(过去 30 天)
I am currently working on a MATLAB app that connects and communicates with an arduino. When I try and run the packaged, installed version I get the error below. If I run the code in App Designer without being packaged or installed it works fine and is able to connect to the arduino.
Unable to find or open 'C:\Users\Brad May\AppData\Roaming\MathWorks\MATLAB Add-Ons\Apps\ConditionedAvoidance - 1\ProgramData\MATLAB\SupportPackages\R2021a\toolbox\matlab\hardware\supportpackages\sharedarduino\+arduino
Check the path and filename permissions

回答(1 个)

Abhishek Chakram
Abhishek Chakram 2024-4-25
Hi Louis Swaby,
It appears you are encountering difficulties in the packaging process of the application developed using MATLAB App Designer. The error message you have encountered suggests an inability of the application to locate certain required support packages. This issue typically emerges when there is an oversight in declaring all the dependencies during the application packaging phase. While packaging, it is required to list all the necessary files and products required to run the application.
You can refer to the following documentation to know more about packaging applications:
Best Regards,
Abhishek Chakram

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by