How To Simulate Discrete Event

Hi Mathworkers.. I've something to ask.. I'm designing fuzzy logic controller using my own matlab code. when I simulate my FLC in continous domain models, there is no problem at all.. But when I change the model into discrete model, it shows an error...
'Algebraic state in algebraic loop containing 'contoh_simulasi_fuzzy_sistem12_fuzzy_ajah/Sum2' computed at time 0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).'
I don't understand... Can Anybody Help Me?
this is my model (Continues and discrete model)

Answers (1)

Mathew Kyle
Mathew Kyle on 15 Mar 2013
Hello there,
I am up with a similar problem. Got any solutions yet?

Categories

Tags

Asked:

on 24 Nov 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!