Passing data from a notifing function to a listening function

1 visualización (últimos 30 días)
Collin
Collin el 21 de Abr. de 2016
What are the trade-offs for...
1. Using a custom event.EventData class to pass data from the notifying function to the listening function
2. Using the source argument returned in the listening function to access the data directly
Specifically, a model/state class generates a large data set in a while loop. At the end of each loop, an update event notifies a plotting class of the desire to plot the data. Which data exchange mechanism would have the lest effect of the performance of the while loop.
Thank you

Respuestas (0)

Categorías

Más información sobre Software Development Tools en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by