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

Simon
Simon 2022년 11월 22일
Hi,
i'm struggling with the same problem.
Could you solve this issue?
Patrick Bruijnes
Patrick Bruijnes 2022년 11월 22일
No, I could not solve the problem. Therefore, I did not use Matlab for the project.

댓글을 달려면 로그인하십시오.

답변 (1개)

Rishav
Rishav 2024년 2월 26일
편집: Rishav 2024년 2월 26일

0 개 추천

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:

카테고리

도움말 센터File Exchange에서 Arduino Hardware에 대해 자세히 알아보기

태그

질문:

2021년 11월 22일

편집:

2024년 2월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by