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)

回答(1 个)

Mathew Kyle
Mathew Kyle 2013-3-15

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by