targetHardware not found despite having installed the Raspberry Pi Hardware Support Package installed
Mostra commenti meno recenti
Hi,
I've been trying to access the Raspberry Pi using MATLAB. At one point in the tutorials it asks for doing
targetObject = targetHardware('Raspberry Pi')
However, despite the Support Package being installed, it says "unrecognized function". I've reinstalled the package to no avail. In MATLAB online it works as expected. The documentation in help targetHardware is shown correctly as well.
3 Commenti
Dyuman Joshi
il 4 Lug 2025
Modificato: Dyuman Joshi
il 4 Lug 2025
If you are working on a 64-bit OS, you should use -
targetObject = targetHardware('Raspberry Pi (64bit)')
If the error doesn't resolve/still persists or you are working on a 32-bit OS, share the full error message along with the line of code for which the error occurs.
Javi
il 4 Lug 2025
Risposte (1)
Sameer
il 8 Lug 2025
0 voti
Hi @Javi
Since you mentioned that the command works correctly in MATLAB Online, the issue is likely related to your local MATLAB environment. I recommend checking out the following MATLAB Answers thread, which outlines several possible causes for the "Unrecognized function" error and how to resolve them:
Hope this helps!
Categorie
Scopri di più su MATLAB Support Package for Raspberry Pi Hardware in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!