Ways to define 'data store memory' block

3 ビュー (過去 30 日間)
WANJU LEE
WANJU LEE 2020 年 5 月 20 日
回答済み: Fangjun Jiang 2020 年 5 月 20 日
I am developing a ECU for vehicle with simulink
According to 'data store memory' explaination sheet(https://www.mathworks.com/help/simulink/slref/datastorememory.html)
It should be on the top of model if I want to use anywhere.
Then, the top of my model consists of hundreads of 'data store memory block'
Is there other ways to define 'data store memory block' ?
Thanks

採用された回答

Fangjun Jiang
Fangjun Jiang 2020 年 5 月 20 日
This is on that page. Create A=Simulink.Signal in base workspace, then you can use DataStoreRead or DataStoreWrite block with data store name as "A" anywhere.
You can use Simulink.Signal objects in addition to, or instead of, Data Store Memory blocks to define data stores. A data store defined in the base workspace with a signal object is a global data store. Global data stores are accessible to every model, including all referenced models. See Data Stores for more information.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLarge-Scale Modeling についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by