Why does the Data Store Write block in my model seem to not update the destination memory when used with S-function Target in Real-Time Workshop?

3 vues (au cours des 30 derniers jours)
The Data Store Write block in my model seems to not update the destination memory when used with S-function Target in Real-Time Workshop.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This is a bug in Real-Time Workshop in the way that S-function Target handles code generation for the Data Store Write block.
To work around this issue, try increasing the 'Loop rolling threshold' in Simulation parameters / Real-Time Workshop / Code Generation Options to a number greater than the size of the Data Store Memory Block that is being written to.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by