Simulink real time logging buffer problems

6 visualizzazioni (ultimi 30 giorni)
Jesper Liniger
Jesper Liniger il 24 Mag 2017
Risposto: Sebastian K il 26 Mag 2017
Hi,
I am using Simulink Real Time for doing a rather lengthy test where I want to log several GBs of data before loading it from target to host.
I found the signal logging data buffer size in doubles and tried to increase it to a value that concurs with 5 GB. The target has 8 GB of RAM available. Whenever I try to build and deploy the model on the target I get a fault saying that the model memory exceeds available memory (I will post the exact error when I get back to work). It seems I can select a maximum of around 450 MB before I get into this problem.
The target is booted from a usb disk with the RAM option set to 8 GB. I also tried auto, but with no improvement.
Has anyone had this problem? or am I missing something?
Best Regards, Jesper

Risposte (1)

Sebastian K
Sebastian K il 26 Mag 2017
Hi Jesper,
Your application sounds like a perfect example where someone would use a Real-Time File Scope, unless I am misunderstanding your requirements or objectives.
This block will let you store data up to 4 GB on the target computer. Please refer to our documentation for some examples on how to use this block.
Cheers,
Sebastian

Community Treasure Hunt

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

Start Hunting!

Translated by