Home > mpt > mpt_simSys.m

mpt_simSys

PURPOSE ^

MPT_SIMSYS Simulates evolution of a given system

SYNOPSIS ^

function [X,U,Y,mode]=mpt_simSys(sysStruct,x0,inU,Options)

DESCRIPTION ^

MPT_SIMSYS Simulates evolution of a given system

 [X,U,Y,mode]=mpt_simSys(sysStruct,x0,inU)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Simulates evolution of system defined by sysStruct from a given state x0 using
 inputs defined in 'inU'

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 sysStruct   - system structure in sysStruct format
 x0          - initial state
 inU         - inputs to apply to the system (one row per time step)
 Options.usemldsim - if set to true, uses mpt_mldsim to simulate MLD system. 
                     if set to false, uses simulator generated by HYSDEL.
                     (default is true)
 Options.abs_tol   - absolute tolerance

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 X    - evolution of states
 U    - evolution of control moves
 Y    - evolution of outputs
 mode - PWA dynamics active at step k

 see also MPT_COMPUTETRAJECTORY

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003