Clear Filters
Clear Filters

Error in matlab hardware manager

2 views (last 30 days)
Patrick Bruijnes
Patrick Bruijnes on 22 Nov 2021
Edited: Rishav on 26 Feb 2024
Hi all,
When setting up a connection with the Arduino board the following errors occur:
Error using matlab.hwmgr.internal.hwsetup.appdesigner/DropDown/setValue
Too many input arguments.
Error in matlab.hwmgr.internal.hwsetup.appdesigner.DropDown/dropdownCallbackHandler (line 49)
obj.setValue(obj.Items{obj.ValueIndex});
Error in matlab.hwmgr.internal.hwsetup.appdesigner.DropDown>@(varargin)obj.dropdownCallbackHandler(varargin{:}) (line 45)
obj.Peer.ValueChangedFcn = @obj.dropdownCallbackHandler;
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 453)
Error while evaluating DropDown PrivateValueChangedFcn.
I know for sure the board is connected well to the PC I'm using...
Can someone help me out?
  2 Comments
Simon
Simon on 22 Nov 2022
Hi,
i'm struggling with the same problem.
Could you solve this issue?
Patrick Bruijnes
Patrick Bruijnes on 22 Nov 2022
No, I could not solve the problem. Therefore, I did not use Matlab for the project.

Sign in to comment.

Answers (1)

Rishav
Rishav on 26 Feb 2024
Edited: Rishav on 26 Feb 2024
Hi Patrick,
You can use the "arduino()" command to resolve the error:
a = arduino('<port>','Nano33IoT','Libraries','<library_name>')
For more details on 'arduino' function, please refer to the following documentation:

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!