codertarget.createDriverProject('my_driver') problem
Ältere Kommentare anzeigen
hi
I'm using the matlab R2018A program version with all the necessary Hardware Support Packages

I'm trying to follow this manual https://www.mathworks.com/help/supportpkg/raspberrypi/ug/create-a-project-folder.html when I try to execute the first instruction codertarget.createDriverProject('my_driver')

I have a problem "Undefined variable "codertarget" or class "codertarget.createDriverProject"."

can anyone help me by telling me what I am doing wrong?
thank you
Antworten (5)
madhan ravi
am 30 Okt. 2018
0 Stimmen
1 Kommentar
pabloa martin
am 30 Okt. 2018
pabloa martin
am 30 Okt. 2018
0 Stimmen
Madhu Govindarajan
am 31 Okt. 2018
Bearbeitet: Madhu Govindarajan
am 31 Okt. 2018
0 Stimmen
Is it possible that you are missing simulink support package for Raspberry pi as that is mentioned as one of the prerequisites and I cannot see that in the screenshot you have posted.
2 Kommentare
pabloa martin
am 31 Okt. 2018
Madhu Govindarajan
am 31 Okt. 2018
Sorry that I misled you initially with the MATLAB Coder idea, I later realized that and hence the edit. Can you check if you have Simulink support package for Raspberry Pi as well?
pabloa martin
am 31 Okt. 2018
Bearbeitet: pabloa martin
am 31 Okt. 2018
0 Stimmen
3 Kommentare
Madhu Govindarajan
am 31 Okt. 2018
Can you provide the output of
which -all codertarget.createDriverProject
pabloa martin
am 31 Okt. 2018
Bearbeitet: pabloa martin
am 31 Okt. 2018
Madhu Govindarajan
am 1 Nov. 2018
That is definitely the problem. That is why I initially thought this was related to MATLAB Coder. Maybe your Coder installation did not go through right.
But it is not mentioned as one of the requirements which should be a bug. So thanks for identifying that. I will check with the right teams internally and report it.
Thanks for your patience and understanding.
Madhu
Murat Belge
am 7 Nov. 2018
Use the attached function archive, my_driver.ZIP, which contains the necessary files to follow the tutorial. The archive represents the folder created by command:
codertarget.createDriverProject('my_driver')
Kategorien
Mehr zu MATLAB Support Package for Raspberry Pi Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

