I'm running a real-time model with Simulink/dSPACE DS1104. I have to make it first in MATLAB Simulink, compile it to C and download it on PCI( dSPACE 1104).
1- My sample time is 1.6e-5 s and I want to feed an RNN block with 2000 data (32 ms) via Buffer block. But I get an overrun error. I'm wondering what's the maximum available data that the RNN block can receive in this situation and how I can increase it.
2- My alternative solution is to make the problem simpler. Where a Buffer block with 64 data is enough. here the RNN block sample time is (T_r = 64*1.6e-5). but again I'm getting overrun error and I guess T_r is not enough for RNN block operation. If it's the reason how I can give the RNN block more time and skip some data? For example, receive receives data [1:64], calculate them in 9*T_r, skip [65:640] and again receive [641:704]?