How can I connect genetic algorithms with simulink?

11 ビュー (過去 30 日間)
Schoolar Interest
Schoolar Interest 2016 年 3 月 12 日
回答済み: Lau Boon Chong 2019 年 7 月 16 日
Hi!
I've build a Simulink model of a DC motor that have an inductance L and a resistance R as parameters. When i run it, I get a speed response.
I want to use genetic algorithm (GA) from Matlab to optimize L and R and get desired speed.
I don't know how to write the code so please help me!!!
Thank you so much!

回答 (2 件)

Alan Weiss
Alan Weiss 2016 年 3 月 14 日
You might find this answer to be relevant.
Alan Weiss
MATLAB mathematical toolbox documentation

Lau Boon Chong
Lau Boon Chong 2019 年 7 月 16 日
HI, anyone got the answer?If yes, can you teach me the step for doing that. My email is lionghanwen@gmail.com or lionghanwen@segi.edu.my thank a lot

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by