i need to impement geneticalgorithm in simulink, how can i call my function from simulink matlab function block. please help me
2 views (last 30 days)
Show older comments
the basic command to implement genetic algorithm in matlab is [x,fval]=ga(@fitnessfunction, no.ofvariables). To implement i need to define a fitness function. But in my simulink model i am using matlab function block which generates mex file. So how can i implement ga in simulink if using matlab function block. can somebody give me an simple example of implementing ga in simulink.
2 Comments
Nathanael
on 10 Jan 2020
Hi Apurv Singh,
I also have the same problem. Do you know how to implement it yet.If so,please kindly explain me how to do it ! Thank you.
manish kumar
on 25 Jun 2021
any update regarding this
i am also facing simmiller issue. seniors please help
Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!