"Error: Not enough memory on the target to process the packet: EXT_SELECT_SIGNALS" in using RPi for video streaming

13 views (last 30 days)
I am using Simulink model shown below for streaming video from Raspberry Pi
MATLAB_Question.PNG
But after succesful code generation I am getting the error "Not enough memory on the target to process the packet: EXT_SELECT_SIGNALS "
But the example code " raspberrypi_inversion" works fine. Which is doing almost the same thing.

Answers (1)

Munish Raj
Munish Raj on 25 Feb 2019
The external mode data is uploaded to the host for display through Simulink's external mode buffers. This error occurs because, the size of the external mode buffer might be too large. In order to resolve this issue, so that the data will be displayed, the buffer size should be reduced. To reduce the size of the buffer, either increase the model's base rate so that it is faster or reduce the number of base rate samples used in the model's external mode buffer by decreasing the Duration in the Signal & Triggering menu under Tools > External Mode Control Panel > Signal & Triggering.
Please follow the steps shown below to resolve this issue.
1. Please open your model
2. Go to code -> External Mode Control Panel
3. Click on 'Signal & Triggering...'
4. Try to reduce the number in 'Duration' text box to 5.

Categories

Find more on Signal Generation, Manipulation, and Analysis in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!