Simulink model build fail with 'Function TAR tried to add two files as "types_c.h".'
2 views (last 30 days)
Show older comments
Saw Zheng Yi
on 19 Apr 2018
Answered: Saw Zheng Yi
on 20 Apr 2018
Hello, I am trying to build a simulink model using Raspberry Pi 3 model B for face detection.
I am referring to the model here:
https://www.mathworks.com/help/vision/examples/detect-and-track-face.html
I replace the video input to V4L2 video capture from raspberry pi.
But when I run the model, I have the error
### Creating data type transition file rasp_complicated_dt.h ### File v4l2_capture.c associated with S-Function 'v4l2_video_capture_sfcn' (used in 'rasp_complicated/V4L2 Video Capture') does not exist .### Evaluating PostCodeGenCommand specified in the model ### Using toolchain: GNU GCC Raspberry Pi v1.0 | gmake (64-bit Windows) ### 'C:\Users\Asus\Documents\reference for fyp\streamingFaceRecognitionV2.1\rasp_complicated_ert_rtw\rasp_complicated.mk' is up to date ### Building 'rasp_complicated': make -f rasp_complicated.mk all ### Build procedure for model: 'rasp_complicated' aborted due to an error. Function TAR tried to add two files as "types_c.h".
and it fail to run the model on my Raspberry Pi. Any idea what cause the problem?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Raspberry Pi Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!