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

8 vues (au cours des 30 derniers jours)
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

Réponses (1)

Arun Kumar
Arun Kumar le 26 Août 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 commentaires
Marc
Marc le 11 Mai 2023
Hi,
I had the same problem and now it works.
Thank You!!!
sangeeth
sangeeth le 16 Mai 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Support Package for Arduino Hardware dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by