How could I implement an array that is constantly recovering data through the entire simulink model?
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 5 Mai 2020
could you explain how this connects to Simulink?
Mariana
le 5 Mai 2020
Walter Roberson
le 5 Mai 2020
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)
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!