MATLAB MODEL PREDICTIVE CONTROL TOOLBOX - S Spezifikationen Seite 118

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 166
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 117
4 Designing Controllers Using the Command Line
4-8
Save Calculated Results
If you'd like to save simulation results in your workspace, use the following sim function
format:
[y,t,u] = sim(MPCobj,T,r);
This suppresses automatic plotting, instead creating variables y, t, and u, which hold the
computed outputs, time, and inputs, respectively. A typical use is to create customized
plots. For example, to plot both outputs on the same axis versus time, you could type:
plot(t,y)
Seitenansicht 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 165 166

Kommentare zu diesen Handbüchern

Keine Kommentare