error while using genetic algorithm(ga) in optimization tool GUI!!

조회 수: 1 (최근 30일)
vipul kumar
vipul kumar 2016년 4월 8일
댓글: shini s 2016년 7월 8일
my simulink model consists of control of inverted pendulum using LQR and fitness function reduce the settling time and peak of the graph obtained in scope of model file. Therefore, my fitness function also contains a sim function. Whenever i try to run my fitness function in ga optimization tool GUI, i get a following error:
Optimization running.
Error running optimization.
Input argument "h" is undefined.
there is no variable or anything like "h" in my fitness function file or my model file. what can i do!
  댓글 수: 2
Geoff Hayes
Geoff Hayes 2016년 4월 9일
vipul - please copy and paste the full error message that you are observing. I'm surprised there isn't a reference to a line of code.
shini s
shini s 2016년 7월 8일
can anyone help me to write the fitness function for LQR design

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by