Info
此问题已关闭。 请重新打开它进行编辑或回答。
How do I write to a data store block in a referenced model?
2 次查看(过去 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 个评论
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
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?
0 个评论
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!