NN predictive controller - Internal S-function 'predopt', flag = 2 (update) problem

조회 수: 10 (최근 30일)
mahmoud
mahmoud 2019년 2월 2일
댓글: Ahmed EL-Ebiary 2021년 7월 3일
Hi there,
I'm encountering this problem for the first time, also i'm new to MATLAB & SIMULINK so please any help will be appreciated.
I'm trying to use NN to control the acceleration of a 1/2 car model, so that i used "NN predictive controller" block as shown and identified the NN plant. But when I run the si,ulation it gives this error:
Whatever i tried it just wouldn't work and I'm not understanding what should I do?
111.png
111.png
  댓글 수: 3
Ahmed EL-Ebiary
Ahmed EL-Ebiary 2021년 7월 3일
which delay please as i face the same problem

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

답변 (1개)

Jake Rankin
Jake Rankin 2019년 2월 21일
I fixed my error after going back over some documentation
And the variable that altered it for me was No. Delayed Plant Input. Mine never worked if it was 1 so I changed it to 2.
I also used the training function trainbr when training my parameters.
Sorry it's not a technical answer, but that's what helped me :)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by