I cannot deploy my matlab code into Raspberry pi 4.

2 次查看(过去 30 天)
I'm having trouble deploying the matlab code to run on the Raspberry Pi 4 for my final year project. I've included screenshots of error message as well as the matlab code. Can anyone please assist me?
Thank you.

采纳的回答

Sayan Saha
Sayan Saha 2021-12-29
The error indicates that "vehicleDetectorACF" function is not supported for code-generation. What is the implementation of that function? Also, can you generate code properly on your host machine with this entry-point function?
  7 个评论
Sayan Saha
Sayan Saha 2022-1-2
Thanks for attaching the report. I didn't realize vehicledetectoracf is a function provided by MathWorks earlier. As I mentioned the issue you are running into is that this function is not supported for code-generation. If it was it would have been mentioned in the documentation: https://www.mathworks.com/help/driving/ref/vehicledetectoracf.html
Looking further at the documentation, I see that this function returns an object of the class acfobjectdetector which is supported for code-generation as mentioned in this documentation link. https://www.mathworks.com/help/vision/ug/example-ObjectDetectionFromImages.html is the example showing how to generate code for the acfobjectdetector object.
Hope this helps and Happy New Year!
~Sayan
Nasrin Islam
Nasrin Islam 2022-1-2
Thank you for your kind response,sir. Happy new year to you too. I will check out the documents. Thank you.

请先登录,再进行评论。

更多回答(1 个)

yanqi liu
yanqi liu 2021-12-19
yes,sir,may be setup Mathworks Raspbian image and connect MATLAB+Device
  1 个评论
Nasrin Islam
Nasrin Islam 2021-12-22
Thank you for your response, sir. I have already done these steps but still cannot deploy the code

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by