Running into `Unrecognized function or variable 'portInfo'.` error when trying to use Monitor and Tune option

7 views (last 30 days)
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

Answers (1)

Arun Kumar
Arun Kumar on 26 Aug 2021
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 Comments
sangeeth
sangeeth on 16 May 2023
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

Sign in to comment.

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!