Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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 个)

Nirmal Gunaseelan
Nirmal Gunaseelan 2012-10-3
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?

此问题已关闭。

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by