How do I write to a data store block in a referenced model?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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 Comment
Walter Roberson
on 9 Oct 2012
Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Answers (1)
Nirmal Gunaseelan
on 3 Oct 2012
0 votes
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?
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!