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

回答(1 个)

Arun Kumar
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
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 CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by