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)

Réponses (1)

Mathew Kyle
Mathew Kyle le 15 Mar 2013

0 votes

Hello there,
I am up with a similar problem. Got any solutions yet?

Catégories

En savoir plus sur Fuzzy Logic in Simulink dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by