updateSystem
(Not recommended) Update dynamic system data in a response plot
updateSystem
is not recommended. Update the model in linear
analysis plots by modifying the chart object properties using dot notation. For more
information, see Version History.
Description
updateSystem(
replaces the dynamic system used to compute a response plot with the dynamic system
model or model array rp
,sys
)sys
and updates the plot. If the plot
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 UI to update in response to interactive input.
Examples
Input Arguments
Alternative Functionality
You can also update the dynamic system in a response plot using dot notation. For
example, the following commands remove the feedthrough component of a plotted
state-space model by setting the D
matrix to zero.
myPlot.Responses(1).SourceData.Model.D = 0;