// S.h: interface for the S class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_S_H__1FF2B771_D926_4549_9764_AAEE76BB3581__INCLUDED_)
#define AFX_S_
%S-function for continuous state equation
function [sys,x0,str,ts]=s_function(t,x,u,flag)
switch flag,
%Initialization
case 0,
[sys,x0,str,ts]=mdlInitializeSizes;
%Outputs
case 3,
/*
s.c A chat server by Ze Zhang and Johannes Detlefsen
compile: gcc -o s s.c list.c -lpthread
*/
#include
#include // for atoi() function
#include
#include