Data From Workspace

This example shows how to use a variable from the MATLAB® workspace in a Stateflow® chart. The variables delay and gain are local variables whose initial value method is defined as "Parameter". For such variables, Stateflow picks the initial value from the base MATLAB workspace.

Was this topic helpful?