Update dynamic system data in a response plot
updateSystem(
replaces
the dynamic system used to compute a response plot with the dynamic
system model or model array h
,sys
)sys
, and updates
the plot. If the plot with handle h
contains
more than one system response, this syntax replaces the first response
in the plot. updateSystem
is useful, for example,
to cause a plot in a GUI to update in response to interactive input.
See Build GUI With Interactive Response-Plot Updates.