How to connect genetic algorithm and fuzzy simulation ?

3 次查看(过去 30 天)
Hi,
a (maybe to short and unspecific) question regarding genetic algorithm (Global Optimization Toolbox). Is there a way of connecting ga to fuzzy (Fuzzy Simulation Toolbox) in an "easy" way ? Let's say by a function handle ? eg. ga(@evalfuzzy, nvars) And if yes - how do I have to write my "@evalfuzzy" (fitnessfcn) ?
Thanks in advance ! Suppenhuhn
  1 个评论
Steve Grikschat
Steve Grikschat 2011-3-4
You need to be more specific in your question.
With this level of specificity, there is nothing that prevents you from having calls to any other toolbox functions inside your fitness function.

请先登录,再进行评论。

回答(1 个)

Suppenhuhn
Suppenhuhn 2011-3-5
Well yes Steve, you´re right. My question was unspecific. But thank you anyway. I finally found my mistake. I just missed to write "readfis" before I wrote my function handle - so Matlab couldn´t find my FIS !

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by