Info
此问题已关闭。 请重新打开它进行编辑或回答。
How could I implement an array that is constantly recovering data through the entire simulink model?
1 次查看(过去 30 天)
显示 更早的评论
Let's say that I have a simple matlab function that computes the sum of two values. I would like to save all of the results in an array so that other matlab function searches for a value inside it based on some inputs.
Is it possible to implement something like this?
3 个评论
Walter Roberson
2020-5-5
If you would be looking for pulling back the result given exactly the same inputs, then see memoize()
Otherwise, would the idea be to interp2() on the growing set of values ? If so then you might need to use a datastore (or global variable)
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!