Running into `Unrecognized function or variable 'portInfo'.` error when trying to use Monitor and Tune option
조회 수: 7 (최근 30일)
이전 댓글 표시
I am using Arduino Engineering Kit. Unfortunately running into the issue where I see an error `Unrecognized function or variable 'portInfo when trying to use Monitor and Tune option. I've tried various options but without a luck, and wonder if there is something that I have missed but should be set in order to use it correctly. Is there a library/addon I should include to enable this functionality ?
I am using version R2021a.
Thank you !
Lukas
댓글 수: 0
답변 (1개)
Arun Kumar
2021년 8월 26일
Hi Lukasz,
If you are setting the com port manually then try the following patch file.
Here are the steps to apply patch:
1. Download the attached files and put them in the same folder.
2. Navigate to the folder created in step 1 above in MATLAB.
3. Run the 'applyPatch.m' file from MATLAB command prompt.
4. Restart MATLAB.
Hope this helps!
Please let me know if this solved your problem.
Thanks,
Arun
댓글 수: 2
sangeeth
2023년 5월 16일
Hi arun,
I tried the above steps but i am getting the error "The following error occurred during deployment to your hardware board: Undefined variable "codertarget" or class "codertarget.arduinobase.board.GetBoard"."
what is the issue?
Thanks
참고 항목
카테고리
Help Center 및 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!