ation</span>
simulator.Simulate();
</pre><h2 id="3">Results</h2><pre class="codeinput"><span class="comment">% Retrieving states</span>
XT      = simulator.XT;
YT      = simulator.YT;
PSI     = simulator.PSI;
THETA   = simulator.THETA;
VEL     = simulator.VEL;
ALPHAT  = simulator.ALPHAT;
dPSI    = simulator.dPSI;
dTHETA  = simulator.dTHETA;

<span class="comment">% Retrieving data from vehicle (?)</span>
m   = System.mT;
a   = System.a;
b   = System.b;
K   = 50000000;                             <span class