Home > mpt > extras > auxiliary > mpt_mldsim.m

mpt_mldsim

PURPOSE ^

MPT_MLDSIM Simulates an MLD system for one time step

SYNOPSIS ^

function [xn,y,z,d,feasible]=mpt_mldsim(S, x0, u)

DESCRIPTION ^

MPT_MLDSIM Simulates an MLD system for one time step

 [xn,y,z,d,feasible]=mpt_mldsim(S, x0, u)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Simulates an MLD system for one time step.

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 S        - structure contianing matrices of MLD system
 x0       - initial state
 u        - current input

 ---------------------------------------------------------------------------
 OUTPUT
 ---------------------------------------------------------------------------
 xn       - next state
 y        - current output
 d        - current values of boolean variables
 z        - current values of auxiliary continuous variables
 feasible - 1 if a feasible solution exists, 0 or -1 otherwise

 see also MPT_SIMSYS

CROSS-REFERENCE INFORMATION ^

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