-
Notifications
You must be signed in to change notification settings - Fork 5
/
ListofCommands.m
32 lines (27 loc) · 1.29 KB
/
ListofCommands.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
echo on
clc
% LIST OF PWATOOL COMMANDS
%
%
% (1) pwacreate(n,m, 'myfilename.m') Approximates a nonlinear
% model with a PWADIs
%
%
% (2) pwacreate(n,m, 'myfilename.m', NR) Imports a PWA model
%
%
%
% (3) y=pwaanalysis(pwasys, setting) Checks the stability of a
% y=pwaanalysis(pwasys, setting, gain) PWA or nonlinear model at
% a given point xcl.
% 'y' is set to 1 if pwasys is stable.
% 'gain' is the controller Kbar
%
%
% (4) [Control, DataSim]=pwasynth(pwasys, x0, setting) Synthesizes PWA controllers
% for a PWA or nonlinear model
% 'Control' contains the gains
% 'DataSim' contains the simulation data from Simulink
%
pause; %strike any key to continue
echo off