Clear Filters
Clear Filters

How to connect genetic algorithm and fuzzy simulation ?

3 views (last 30 days)
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 Comment
Steve Grikschat
Steve Grikschat on 4 Mar 2011
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.

Sign in to comment.

Answers (1)

Suppenhuhn
Suppenhuhn on 5 Mar 2011
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 !

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!