How do I write to a data store block in a referenced model?

Is there any way that I can write to a data store in a referenced model from the model it is situated in or the command line? In this case I cannot define the data store globally or use a data store write inside the reference model.

1 件のコメント

Walter Roberson
Walter Roberson 2012 年 10 月 9 日
Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags

回答 (1 件)

Nirmal Gunaseelan
Nirmal Gunaseelan 2012 年 10 月 3 日

0 投票

The page on Using Data Stores Across Multiple Models refers to a way of creating a global memory location in the base workspace programmatically and then using data store read in the model where you want to access this data. In this case, you should not use a data store memory block which would shadow this global data in the workspace. Does this suit your need?

この質問は閉じられています。

製品

タグ

質問済み:

2012 年 10 月 3 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by