Code Generation GRT: Make DSM non-volatile

1 回表示 (過去 30 日間)
Matt
Matt 2014 年 7 月 2 日
回答済み: Nirmal Gunaseelan 2014 年 7 月 10 日
I have an model which is using DSM's to store information which is accessed by stateflow and the model. From this model I'm generating an exe using the GRT template, which is running in windows.
My question is whether there is a way of storing the state of each DSM so that if forms the initial value for the next execution of the exe; akin to non-volative storage on an embbed system

回答 (1 件)

Nirmal Gunaseelan
Nirmal Gunaseelan 2014 年 7 月 10 日
I'm guessing you have already looked at storage class of the DSMs. Take a look at how one of the other targets, AUTOSAR, manages modeling of non-volatile memory using DSMs and might be of help.

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by